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 648b6a6 commit 1c197e6Copy full SHA for 1c197e6
.github/workflows/deploy.yml
@@ -16,6 +16,11 @@ jobs:
16
17
steps:
18
- uses: actions/checkout@v5
19
+ with:
20
+ # we need a full checkout to be able use git describe.
21
+ # see https://github.com/actions/checkout/issues/1471
22
+ fetch-depth: 0
23
+ fetch-tags: true
24
25
- name: Set up Docker Buildx
26
uses: docker/setup-buildx-action@v3
@@ -53,6 +58,11 @@ jobs:
53
58
type=semver,event=tag,pattern={{version}}
54
59
type=raw,event=workflow_dispatch,value=snapshot
55
60
61
+ - name: Save version info
62
+ run: |
63
+ git describe --exclude 'snapshot' | tee ./server/api/version.info
64
+ git log -1 | tee ./server/api/git.info
65
+
56
66
- name: Build and push the stats gui image
57
67
uses: docker/build-push-action@v6
68
with:
0 commit comments