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 1acd9a3 commit 9310c92Copy full SHA for 9310c92
.github/workflows/build-deliver.yaml
@@ -9,6 +9,11 @@ jobs:
9
steps:
10
- name: Checkout git commit
11
uses: actions/checkout@main
12
+ with:
13
+ fetch-depth: 0
14
+
15
+ - name: Set environment variable for version from git output
16
+ run: echo "APP_VERSION_STRING=$(git describe --always --tags)" >> $GITHUB_ENV
17
18
- name: Publish server images to GitHub Container Registry
19
# TODO: pin to hash
@@ -25,6 +30,7 @@ jobs:
25
30
26
31
# create docker image tags to match git tags
27
32
tag_names: true
33
+ buildargs: VITE_APP_VERSION_STRING
28
34
29
35
# build Dockerfile in server/ service directory
36
workdir: server
0 commit comments