A tiny toolbox of GitHub composite actions.
.github/actions/ecr-build-push-actionBuild a Docker image and push it to AWS ECR. Docs: see the action’s ownREADME.md.
- uses: Geonadir/gh-actions/.github/actions/action-name@v1.0.0
with:
AWS_REGION: ap-south-1
AWS_ROLE_ARN: arn:aws:iam::123456789012:role/GitHubOidcEcrPushRole
ECR_REPOSITORY: my-service
IMAGE_TAG: latest
## Other inputs as neededAlways use a tag (e.g.@v1.0.0) instead of branch @master