-
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.
Create new build-publish-develop workflow that pushes to develop imag…
…e ECR (#6696) * Create new build-publish-develop workflow that pushes to develop image ECR Update composite actions to allow AWS authentication via OIDC and rework inputs to support any registry path * Remove unused image-name input for workflows and action, defaults are sufficient for both non-publish buids and release builds * rename ecr-prefix input and secret to ecr-hostname, rename ecr-repo-path input to ecr-image-name with description, remove branching aws login logic as the underlying action handles it for us
- Loading branch information
Showing
4 changed files
with
43 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 'Push develop to private ECR' | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
push-chainlink-develop: | ||
runs-on: ubuntu-20.04 | ||
environment: build-develop | ||
permissions: | ||
id-token: write | ||
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0 | ||
|
||
- 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 |
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