From eff40e57c33d45ed7037a9ea2d58b3e4888ee2ac Mon Sep 17 00:00:00 2001 From: xstefank Date: Wed, 28 Feb 2024 16:23:04 +0100 Subject: [PATCH] Add image.build to build image also locally in order to push it to quay.io --- .github/workflows/image-push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/image-push.yml b/.github/workflows/image-push.yml index 5f78841..e71dce6 100644 --- a/.github/workflows/image-push.yml +++ b/.github/workflows/image-push.yml @@ -36,7 +36,8 @@ jobs: - name: Build, Test and push image if: steps.check_upgrades.outputs.NARAYANA_OR_QUARKUS_UPGRADE == '0' run: | - ./mvnw clean package -Dquarkus.container-image.push=true -Dquarkus.container-image.tag=$(./mvnw help:evaluate -Dexpression=narayana.version -q -DforceStdout)-$(./mvnw help:evaluate -Dexpression=quarkus.platform.version -q -DforceStdout) + ./mvnw clean package -Dquarkus.container-image.build=true -Dquarkus.container-image.push=true -Dquarkus.container-image.tag=$(./mvnw help:evaluate -Dexpression=narayana.version -q -DforceStdout)-$(./mvnw help:evaluate -Dexpression=quarkus + .platform.version -q -DforceStdout) env: QUARKUS_CONTAINER_IMAGE_USERNAME: ${{ secrets.QUARKUS_CONTAINER_IMAGE_USERNAME }} QUARKUS_CONTAINER_IMAGE_PASSWORD: ${{ secrets.QUARKUS_CONTAINER_IMAGE_PASSWORD }}