File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 66 types : ['labeled']
77
88permissions :
9+ id-token : write
910 contents : read
1011
1112jobs :
@@ -47,12 +48,12 @@ jobs:
4748 key : ${{ runner.os }}-buildx-${{ github.sha }}
4849 restore-keys : |
4950 ${{ runner.os }}-buildx-
50- - name : Configure AWS credentials for Kafka-UI account
51+ - name : Configure AWS Credentials
5152 uses : aws-actions/configure-aws-credentials@v4
5253 with :
53- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
54- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
54+ audience : sts.amazonaws.com
5555 aws-region : us-east-1
56+ role-to-assume : arn:aws:iam::187584688086:role/github-actions-ecr-poweruser
5657 - name : Login to Amazon ECR
5758 id : login-ecr
5859 uses : aws-actions/amazon-ecr-login@v2
6566 builder : ${{ steps.buildx.outputs.name }}
6667 context : api
6768 push : true
68- tags : public.ecr.aws/kafbat/kafka-ui-custom-build :${{ steps.extract_branch.outputs.tag }}
69+ tags : public.ecr.aws/s0v8j8q9/ kafbat/kafka-ui:${{ steps.extract_branch.outputs.tag }}
6970 build-args : |
7071 JAR_FILE=api-${{ steps.build.outputs.version }}.jar
7172 cache-from : type=local,src=/tmp/.buildx-cache
7576 with :
7677 issue-number : ${{ github.event.pull_request.number }}
7778 body : |
78- Image published at public.ecr.aws/kafbat/kafka-ui-custom-build :${{ steps.extract_branch.outputs.tag }}
79+ Image published at public.ecr.aws/s0v8j8q9/ kafbat/kafka-ui:${{ steps.extract_branch.outputs.tag }}
7980 outputs :
8081 tag : ${{ steps.extract_branch.outputs.tag }}
You can’t perform that action at this time.
0 commit comments