Skip to content

Commit

Permalink
Fix snapshot check
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Dec 14, 2023
1 parent 4545127 commit 0c86bfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Get project version from POM
run: echo "VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout`" >> $GITHUB_ENV
id: project_version
run: echo "VERSION=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout`" >> $GITHUB_OUTPUT

# Only execute for -SNAPSHOT versions
- name: Publish SNAPSHOT
Expand All @@ -57,6 +58,5 @@ jobs:
run: |
for name in ${{ inputs.images }}
do
echo $name:$VERSION
docker push $name:$VERSION
docker push $name:${{ steps.project_version.outputs.version }}
done

0 comments on commit 0c86bfd

Please sign in to comment.