mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-28 18:06:34 +02:00
ci: fix version metadata in non-releases (#1836)
This commit is contained in:
parent
cc85ea601d
commit
5558f81ffc
2 changed files with 3 additions and 1 deletions
2
.github/workflows/docker-master.yaml
vendored
2
.github/workflows/docker-master.yaml
vendored
|
@ -14,6 +14,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
|
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ BUILDTAGS :=
|
|||
|
||||
# Populate version variables
|
||||
# Add to compile time flags
|
||||
VERSION := $(shell git describe --abbrev=0 --tags)
|
||||
VERSION := $(shell git describe --tags)
|
||||
GITCOMMIT := $(shell git rev-parse --short HEAD)
|
||||
BUILDMETA:=
|
||||
GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no)
|
||||
|
|
Loading…
Add table
Reference in a new issue