From 3f008d1edb9e8df7f7ac8fbd6bbb531083709664 Mon Sep 17 00:00:00 2001 From: miampf Date: Thu, 25 Apr 2024 13:28:26 +0200 Subject: [PATCH] exit on newline and tagging with workflow id --- .github/actions/e2e_test/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/e2e_test/action.yml b/.github/actions/e2e_test/action.yml index 448474bc3..6656dd692 100644 --- a/.github/actions/e2e_test/action.yml +++ b/.github/actions/e2e_test/action.yml @@ -126,7 +126,8 @@ runs: shell: bash run: | if [[ "${{ inputs.cosignPassword }}" == '' || "${{ inputs.cosignPrivateKey }}" == '' ]]; then - echo "::error::e2e test verify requires cosignPassword and cosignPrivateKey to be set." exit 1 + echo "::error::e2e test verify requires cosignPassword and cosignPrivateKey to be set." + exit 1 fi - name: Determine build target @@ -257,7 +258,7 @@ runs: gcpProjectID: ${{ inputs.gcpProject }} gcpZone: ${{ inputs.regionZone || 'europe-west3-b' }} kubernetesVersion: ${{ inputs.kubernetesVersion }} - additionalTags: "run-name=${{ steps.create-prefix.outputs.prefix }}" + additionalTags: "workflow=${{ github.workflow }}" - name: Login to GCP (Cluster service account) if: inputs.cloudProvider == 'gcp'