Skip to content

Commit

Permalink
Always checkout repo in workflow to support argo sync and rename imag…
Browse files Browse the repository at this point in the history
…e 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 f994e8d.
  • Loading branch information
chainchad authored Jan 22, 2024
1 parent 091a9a3 commit c45ff89
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit c45ff89

Please sign in to comment.