diff --git a/.github/workflows/build-publish-develop.yml b/.github/workflows/build-publish-develop.yml index 22f9ce81f7f..4384956da3c 100644 --- a/.github/workflows/build-publish-develop.yml +++ b/.github/workflows/build-publish-develop.yml @@ -1,9 +1,16 @@ -name: 'Push develop to private ECR' +name: "Push develop to private ECR" on: push: branches: - develop + workflow_dispatch: + inputs: + git_ref: + description: "Git ref (commit SHA, branch name, tag name, etc.) to checkout" + required: true +env: + GIT_REF: ${{ github.event.inputs.git_ref || github.ref }} jobs: push-chainlink-develop: @@ -25,7 +32,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - + with: + ref: ${{ env.GIT_REF }} - name: Build, sign and publish chainlink image uses: ./.github/actions/build-sign-publish-chainlink with: