55 tags : ['*']
66 branches : ['master']
77 paths-ignore : ['charts/**']
8+ pull_request :
9+ paths :
10+ - ' .github/workflows/docker-image.yml'
811permissions :
912 id-token : write
1013 contents : read
1417 steps :
1518 - uses : aws-actions/configure-aws-credentials@v4
1619 with :
17- aws-region : ${{ vars.RP_AWS_CRED_REGION }}
20+ aws-region : us-east-1
1821 role-to-assume : arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
19- - uses : aws-actions/aws-secretsmanager-get-secrets@v2
20- with :
21- secret-ids : |
22- ,sdlc/prod/github/dockerhub
23- parse-json-secrets : true
2422 - uses : actions/checkout@v4
2523 - uses : docker/setup-qemu-action@v3
2624 - uses : docker/setup-buildx-action@v3
@@ -36,18 +34,13 @@ jobs:
3634 with :
3735 # list of Docker images to use as base name for tags
3836 images : |
39- redpandadata/kminion
4037 public.ecr.aws/l9j0i2e0/kminion
4138 # generate Docker tags based on the following events/attributes
4239 # Semver type is only active on 'push tag' events,
4340 # hence no enable condition required
4441 tags : |
4542 type=sha,prefix={{branch}}-,format=short,enable={{is_default_branch}}
4643 type=semver,pattern={{raw}}
47- - uses : docker/login-action@v3
48- with :
49- username : ${{ env.DOCKERHUB_USER }}
50- password : ${{ env.DOCKERHUB_TOKEN }}
5144 - name : login to amazon ECR Public
5245 uses : aws-actions/amazon-ecr-login@v2
5346 with :
0 commit comments