aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/docker-image.yml
diff options
context:
space:
mode:
authorAKP <tom@tdpain.net>2022-08-13 20:10:43 +0100
committerAKP <tom@tdpain.net>2022-08-13 20:10:43 +0100
commit9b0e1c74702506ddef2d47c73ca56d119e7c3393 (patch)
tree1dbae672c7479b61249189c9b694a795cae28a6f /.github/workflows/docker-image.yml
parentd2d07b70ffc2502293b912bf4bfb408df92c07c9 (diff)
Set version number when building in CI
Signed-off-by: AKP <tom@tdpain.net>
Diffstat (limited to '.github/workflows/docker-image.yml')
-rw-r--r--.github/workflows/docker-image.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 5d64bbb..e07113b 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -25,7 +25,10 @@ jobs:
run: |
echo "::set-output name=LATEST::$IMAGE_NAME:latest"
echo "::set-output name=VERSIONED::$IMAGE_NAME:${{ steps.get_version.outputs.VERSION }}"
-
+
+ - name: Set version number
+ run: bash setVersionNumber.sh "${{ steps.get_version.outputs.VERSION }}"
+
- name: Build Docker image
run: docker build . --file Dockerfile --tag ${{ steps.make_tags.outputs.LATEST }} --tag ${{ steps.make_tags.outputs.VERSIONED }}