-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4f8496
commit 132d149
Showing
3 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,29 +30,11 @@ env: | |
|
||
jobs: | ||
image-tag: | ||
permissions: | ||
id-token: write | ||
contents: read | ||
runs-on: ubuntu-latest | ||
outputs: | ||
image-tag: ${{ steps.get-image-tag.outputs.image-tag }} | ||
release-type: ${{ steps.get-image-tag.outputs.release-type }} | ||
steps: | ||
- name: Setup Github Token | ||
id: token | ||
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # [email protected] | ||
with: | ||
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }} | ||
aws-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
set-git-config: "true" | ||
|
||
- name: Checkout capabilities repository | ||
uses: actions/[email protected] | ||
with: | ||
repository: smartcontractkit/capabilities | ||
token: ${{ steps.token.outputs.access-token }} | ||
|
||
- name: Checkout chainlink repository | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -102,10 +84,28 @@ jobs: | |
goarch: arm64 | ||
dist_name: linux_arm64_v8.0 | ||
steps: | ||
- name: Checkout repository | ||
- name: Setup Github Token | ||
id: token | ||
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # [email protected] | ||
with: | ||
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }} | ||
aws-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
set-git-config: "true" | ||
|
||
- name: Checkout capabilities repository | ||
uses: actions/[email protected] | ||
with: | ||
repository: smartcontractkit/capabilities | ||
token: ${{ steps.token.outputs.access-token }} | ||
path: capabilities | ||
|
||
- name: Checkout chainlink repository | ||
uses: actions/[email protected] | ||
with: | ||
repository: smartcontractkit/chainlink | ||
ref: ${{ env.CHECKOUT_REF }} | ||
path: chainlink | ||
fetch-depth: 0 | ||
|
||
- name: Configure aws credentials | ||
|
@@ -125,6 +125,7 @@ jobs: | |
- name: Build images for ${{ matrix.goarch }} | ||
uses: ./.github/actions/goreleaser-build-sign-publish | ||
if: github.event_name == 'workflow_dispatch' || steps.cache.outputs.cache-hit != 'true' | ||
working-directory: chainlink | ||
with: | ||
docker-registry: ${{ secrets.AWS_SDLC_ECR_HOSTNAME }} | ||
docker-image-tag: ${{ needs.image-tag.outputs.image-tag }} | ||
|
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
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