This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
Push image to ECR when changes are pushed to master #1417
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 image to ECR when changes are pushed to master | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
workflow_run: | |
workflows: ["Code Checks"] | |
types: [completed] | |
jobs: | |
push-images: | |
uses: department-of-veterans-affairs/platform-console-api/.github/workflows/push-image-template.yml@master | |
with: | |
ecr_repository: 'platform-console' | |
secrets: | |
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
rails_master_key: ${{ secrets.RAILS_MASTER_KEY }} |