mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ BUILDTAGS :=
|
||||||
|
|
||||||
# Populate version variables
|
# Populate version variables
|
||||||
# Add to compile time flags
|
# Add to compile time flags
|
||||||
VERSION := $(shell git describe --abbrev=0 --tags)
|
VERSION := $(shell git describe --tags)
|
||||||
GITCOMMIT := $(shell git rev-parse --short HEAD)
|
GITCOMMIT := $(shell git rev-parse --short HEAD)
|
||||||
BUILDMETA:=
|
BUILDMETA:=
|
||||||
GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no)
|
GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no)
|
||||||
|
|
Loading…
Add table
Reference in a new issue