Skip to content

Commit

Permalink
feat: cd
Browse files Browse the repository at this point in the history
  • Loading branch information
rswanson committed May 2, 2024
1 parent 2e67e9c commit a3114bf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ecr-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker ECR Push

on:
push:
branches: [main]
pull_request:


permissions:
packages: write
contents: read
id-token: write

# simplest example of using the rust-base action
jobs:
docker-ecr-push:
uses: init4tech/actions/.github/workflows/ecr-build-and-push.yml@main
with:
rust-binary-name: zenith-builder-example
environment: dev
secrets:
aws-ecr-repository: ${{ secrets.AWS_ECR_REPOSITORY }}
aws-eks-cluster: ${{ secrets.AWS_EKS_CLUSTER }}
aws-ecr-deployer-role-arn: ${{ secrets.AWS_ECR_DEPLOYER_ROLE_ARN }}

0 comments on commit a3114bf

Please sign in to comment.