From bba49126aff25dbedd2400f633960cb607154bb2 Mon Sep 17 00:00:00 2001 From: Jonas Bulcke Date: Fri, 16 Aug 2024 21:23:17 +0200 Subject: [PATCH] ci: test --- .github/workflows/docker-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ea09b24..e463d16 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -46,9 +46,8 @@ jobs: run: | export VERSION=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout) echo "IMAGE_TAG=$VERSION" >> $GITHUB_ENV - echo ${{VERSION}} echo ${{ env.IMAGE_TAG }} - if [[ "${{ env.IMAGE_TAG }}" != *"SNAPSHOT"* ]]; then + if [[ "$VERSION" != *"SNAPSHOT"* ]]; then echo "LATEST=latest" >> $GITHUB_ENV fi