Skip to content

Commit

Permalink
Fix image tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Jan 3, 2025
1 parent 87fd088 commit 6b9aa8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>no.rutebanken</groupId>
<artifactId>uttu</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1-SNAPSHOT2</version>
<packaging>jar</packaging>

<name>uttu</name>
Expand Down

0 comments on commit 6b9aa8a

Please sign in to comment.