Github Action to create an ECR repository if it's missing for a Finalcad app.
[Required] AWS role allowing Secret manager usage
AWS region for ECR checks, Default: eu-central-1
[Required] Finalcad envrionment: production, staging, sandbox
[Required] Full registry name
Comma separated list of account number allowed to pull beside principal account, Default: empty
- name: Create ecr
uses: FinalCAD/AppEcrAction@v0.0.1
with:
aws-role: ${{ secrets.DEPLOY_ROLE_MASTER }}
environment: sandbox
registry: api1-service-api
- name: Create ecr
uses: FinalCAD/AppEcrAction@v0.0.1
with:
aws-role: ${{ secrets.DEPLOY_ROLE_MASTER }}
environment: sandbox
registry: api1-service-api
pulling-accounts: "10101001010,2021020020"