diff --git a/.github/workflows/application-signals-e2e-test.yml b/.github/workflows/application-signals-e2e-test.yml index 87ca8e3..09034e9 100644 --- a/.github/workflows/application-signals-e2e-test.yml +++ b/.github/workflows/application-signals-e2e-test.yml @@ -59,6 +59,8 @@ jobs: upload-main-build-image: runs-on: ${{ matrix.os }} + outputs: + short_sha: ${{ env.SHORT_SHA }} continue-on-error: true strategy: matrix: @@ -67,7 +69,7 @@ jobs: - os: ubuntu-latest steps: - uses: actions/checkout@v3 - + - id: short_sha - name: Get Short SHA run: | shortsha="$(git rev-parse --short HEAD)" @@ -146,7 +148,7 @@ jobs: uses: aws-observability/aws-application-signals-test-framework/.github/workflows/dotnet-eks-test.yml@dotnetE2ERouteFix secrets: inherit with: - adot-image-name: ${{ inputs.adot-linux-image-name }}-${{ env.SHORT_SHA }} + adot-image-name: ${{ inputs.adot-linux-image-name }}-${{ needs.upload-main-build-image.outputs.short_sha }} aws-region: us-east-1 test-cluster-name: 'e2e-dotnet-adot-test' caller-workflow-name: 'main-build' @@ -156,7 +158,7 @@ jobs: uses: aws-observability/aws-application-signals-test-framework/.github/workflows/dotnet-eks-windows-test.yml@dotnetE2ERouteFix secrets: inherit with: - adot-image-name: ${{ inputs.adot-windows-image-name }}-${{ env.SHORT_SHA }} + adot-image-name: ${{ inputs.adot-windows-image-name }}-${{ needs.upload-main-build-image.outputs.short_sha }} aws-region: us-east-1 test-cluster-name: 'eks-windows-manual' caller-workflow-name: 'main-build'