docker-ecr-push:
uses: init4tech/actions/.github/workflows/ecr-build-and-push.yml@main
with:
rust-binary-name: 'my-binary'
environment: 'dev'
secrets:
aws-ecr-repository: $
aws-ecr-deployer-role-arn: $
rust-binary-nameDescription: Name of the Rust binary to build
Type: string
environmentDescription: Environment to deploy to (used for GitHub environment secrets)
Type: string
requires-private-depsDescription: Requires private dependencies to be fetched, sets up ssh-agent
Type: boolean
Default Value: false
dockerfile-pathDescription: Path to the Dockerfile to use
Type: string
Default Value: Dockerfile
aws-ecr-repositoryDescription: ECR repository to push to
Type: string
aws-ecr-deployer-role-arnDescription: Role ARN to assume for ECR access
Type: string
SSH_PRIVATE_KEYDescription: SSH private key for fetching private dependencies (required if requires-private-deps is true)
Type: string
SSH_PRIVATE_KEY_2Description: Additional SSH private key for fetching private dependencies
Type: string
SSH_PRIVATE_KEY_3Description: Additional SSH private key for fetching private dependencies
Type: string