BCF-2637 Add evm chain id removal migrations (#10669) #2463
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
runs-on: ubuntu-20.04 | |
environment: build-develop | |
permissions: | |
id-token: write | |
contents: read | |
strategy: | |
matrix: | |
image: | |
- name: "" | |
dockerfile: core/chainlink.Dockerfile | |
tag-suffix: "" | |
- name: (plugins) | |
dockerfile: plugins/chainlink.Dockerfile | |
tag-suffix: -plugins | |
name: push-chainlink-develop ${{ matrix.image.name }} | |
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: | |
publish: true | |
aws-role-to-assume: ${{ secrets.AWS_OIDC_IAM_ROLE_ARN }} | |
aws-role-duration-seconds: ${{ secrets.AWS_ROLE_DURATION_SECONDS }} | |
aws-region: ${{ secrets.AWS_REGION }} | |
ecr-hostname: ${{ secrets.AWS_DEVELOP_ECR_HOSTNAME }} | |
ecr-image-name: chainlink | |
ecr-tag-suffix: ${{ matrix.image.tag-suffix }} | |
dockerfile: ${{ matrix.image.dockerfile }} | |
- name: Collect Metrics | |
if: always() | |
id: collect-gha-metrics | |
uses: smartcontractkit/push-gha-metrics-action@d2c2b7bdc9012651230b2608a1bcb0c48538b6ec | |
with: | |
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} | |
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }} | |
this-job-name: push-chainlink-develop ${{ matrix.image.name }} | |
continue-on-error: true |