From c45ff8999f44f9dae71194bc39bb8fc7dd446163 Mon Sep 17 00:00:00 2001 From: chainchad <96362174+chainchad@users.noreply.github.com> Date: Mon, 22 Jan 2024 17:10:00 -0500 Subject: [PATCH] Always checkout repo in workflow to support argo sync and rename image tag (#11846) * Always checkout repo in workflow to support argo sync * Add PR number as an image tag suffix. To avoid collisions. * Revert "Add PR number as an image tag suffix." This reverts commit f994e8d2e6adc06ba12a747b28b225dc49f96889. --- .github/workflows/build-publish-pr.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-publish-pr.yml b/.github/workflows/build-publish-pr.yml index fd5533c1b5b..25ffa394551 100644 --- a/.github/workflows/build-publish-pr.yml +++ b/.github/workflows/build-publish-pr.yml @@ -20,6 +20,9 @@ jobs: env: ECR_IMAGE_NAME: crib-chainlink-untrusted steps: + - name: Checkout repository + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - name: Git Short SHA shell: bash env: @@ -36,10 +39,6 @@ jobs: AWS_REGION: ${{ secrets.AWS_REGION }} AWS_ROLE_TO_ASSUME: ${{ secrets.AWS_OIDC_IAM_ROLE_PUBLISH_PR_ARN }} - - name: Checkout repository - if: steps.check-image.outputs.exists == 'false' - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Build and publish chainlink image if: steps.check-image.outputs.exists == 'false' uses: ./.github/actions/build-sign-publish-chainlink