diff --git a/.github/workflows/docker-master.yaml b/.github/workflows/docker-master.yaml index 3d14a5a6c..f9e1ff412 100644 --- a/.github/workflows/docker-master.yaml +++ b/.github/workflows/docker-master.yaml @@ -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 diff --git a/Makefile b/Makefile index a67a295f0..a4a59df8c 100644 --- a/Makefile +++ b/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)