From 094817c0217ed86e538ea6f26da340b995f15af9 Mon Sep 17 00:00:00 2001 From: Stefan Wiedemann Date: Fri, 3 May 2024 16:30:56 +0200 Subject: [PATCH] remove dupe --- .github/workflows/release.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 59fb760..bd87837 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -50,11 +50,6 @@ jobs: - name: Log into quay.io run: docker login -u "${{ secrets.QUAY_USERNAME }}" -p "${{ secrets.QUAY_PASSWORD }}" ${{ env.REGISTRY }} - - name: Build&Push image - run: | - mvn versions:set -DnewVersion=${{ needs.generate-version.outputs.version }} - mvn clean package verify deploy -DskipTests -Pk8s-it -Dquarkus.package.type=native -Dquarkus.container-image.build=true -Dquarkus.container-image.tag=${{ needs.generate-version.outputs.version }} -Dquarkus.container-image.registry="${{ env.REGISTRY }}" -Dquarkus.container-image.group="${{ env.REPOSITORY }}" - - name: Build image run: | mvn versions:set -DnewVersion=${{ needs.generate-version.outputs.version }} @@ -67,6 +62,7 @@ jobs: - name: Push run: | docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}/odrl-pap:${{ needs.generate-version.outputs.version }} + git-release: needs: ["generate-version", "build-and-push"] runs-on: ubuntu-latest