File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
10
10
env :
11
11
# Workaround for no ternary operator, use short-circuiting
12
+ # I'd love to not repeat the version string, but env can't be recursive
12
13
VERSION : ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'DEV' }}
13
14
MAC_PACKAGE : OpenCRAVAT.${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'DEV' }}.pkg
14
15
WINDOWS_INSTALLER : OpenCRAVAT-${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'DEV' }}.exe
36
37
docker :
37
38
runs-on : ubuntu-latest
38
39
env :
39
- image_tag : ${{ secrets.DOCKER_USERNAME }}/opencravat:${{ VERSION }}
40
+ image_tag : ${{ secrets.DOCKER_USERNAME }}/opencravat:${{ env. VERSION }}
40
41
steps :
41
42
- uses : actions/checkout@v4
42
43
- name : Build Docker image
You can’t perform that action at this time.
0 commit comments