diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e0c705d1..47395e3d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,7 +55,8 @@ jobs:
cache: maven
- name: set variables
run: |
- echo "GHA_DOCKER_PUSH_IMAGE_TAG=`date +%Y-%m-%dT%H-%M`" >> $GITHUB_ENV
+ VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec)
+ echo "GHA_DOCKER_PUSH_IMAGE_TAG=v$VERSION-${{ github.run_id }}" >> $GITHUB_ENV
- name: Build container image with Jib, push to container repo
run: |
diff --git a/pom.xml b/pom.xml
index 69112668..1c584514 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
no.rutebanken
uttu
- 0.0.1-SNAPSHOT
+ 0.0.1-SNAPSHOT2
jar
uttu