File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 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
@@ -36,18 +39,16 @@ jobs:
3639 with :
3740 # list of Docker images to use as base name for tags
3841 images : |
39- redpandadata/kminion
4042 public.ecr.aws/l9j0i2e0/kminion
4143 # generate Docker tags based on the following events/attributes
4244 # Semver type is only active on 'push tag' events,
4345 # hence no enable condition required
4446 tags : |
45- type=sha,prefix={{branch}}-,format=short,enable={{is_default_branch}}
46- type=semver,pattern={{raw}}
47- - uses : docker/login-action@v3
47+ type=ref,event=pr
48+ - uses : aws-actions/configure-aws-credentials@v4
4849 with :
49- username : ${{ env.DOCKERHUB_USER }}
50- password : ${{ env.DOCKERHUB_TOKEN }}
50+ aws-region : us-east-1
51+ role-to-assume : arn:aws:iam:: ${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
5152 - name : login to amazon ECR Public
5253 uses : aws-actions/amazon-ecr-login@v2
5354 with :
You can’t perform that action at this time.
0 commit comments