diff --git a/.github/workflows/publish-gcp-oidc-enclave-docker.yaml b/.github/workflows/publish-gcp-oidc-enclave-docker.yaml index 253ccb420..b5f52323f 100644 --- a/.github/workflows/publish-gcp-oidc-enclave-docker.yaml +++ b/.github/workflows/publish-gcp-oidc-enclave-docker.yaml @@ -117,13 +117,27 @@ jobs: echo "jar_version=$(mvn help:evaluate -Dexpression=project.version | grep -e '^[1-9][^\[]')" >> $GITHUB_OUTPUT echo "git_commit=$(git show --format="%h" --no-patch)" >> $GITHUB_OUTPUT cp -r target ${{ env.DOCKER_CONTEXT_PATH }}/ - - - name: E2E - uses: ./.github/workflows/run-e2e-tests-on-operator.yaml - with: - operator_image_version: ${{ steps.updatePom.outputs.image_tag }} - operator_branch: ${{ github.ref }} + e2e: + name: E2E + uses: ./.github/workflows/run-e2e-tests-on-operator.yaml + needs: buildImage + with: + operator_type: gcp + operator_image_version: ${{ needs.buildImage.outputs.image_tag }} + operator_branch: ${{ github.ref }} + secrets: inherit + + release: + name: Create releases + runs-on: ubuntu-latest + permissions: + contents: write + security-events: write + packages: write + pull-requests: write + needs: e2e + steps: - name: Commit pom.xml and version.json if: ${{ inputs.version_number_input == '' && steps.checkRelease.outputs.IS_RELEASE != 'true' }} uses: EndBug/add-and-commit@v9