This Action builds a Docker image it, tags it and pushes it to Amazon ECR.
steps:
- name: Build, tag, and push image to Amazon ECR
uses: moj-analytical-services/actions-build-and-push-to-ecr@v1
with:
role-to-assume: arn:aws:iam::123456789012:role/my-role
It is recommended to set role-to-assume
using a secret.
The scripts and documentation in this project are released under the MIT License.