We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7687457 commit cd48e75Copy full SHA for cd48e75
.github/workflows/build.yml
@@ -24,7 +24,10 @@ jobs:
24
go-version: '1.23'
25
26
- name: Build Docker Image
27
- run: docker build --build-arg VERSION=$(git describe --tags --always) --build-arg BUILDTIME="$(date -R)" . -f build/Dockerfile -t ghcr.io/${{ github.repository }}:latest
+ run: |
28
+ git fetch --unshallow --tags
29
+ BUILDTIME=$(date -R)
30
+ docker build --build-arg VERSION=$(git describe --tags --always) --build-arg BUILDTIME='$BUILDTIME' . -f build/Dockerfile -t ghcr.io/${{ github.repository }}:latest
31
32
- name: Log in to GitHub Container Registry
33
uses: docker/login-action@v2
0 commit comments