File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 5252 - name : Configure AWS Credentials
5353 uses : aws-actions/configure-aws-credentials@v4
5454 with :
55- audience : sts.amazonaws.com
5655 aws-region : us-east-1
57- role-to-assume : arn:aws:iam::187584688086:role/github-actions-ecr-poweruser
56+ role-to-assume : ${{ secrets.AWS_ROLE }}
5857 - name : Login to Amazon ECR
5958 id : login-ecr
6059 uses : aws-actions/amazon-ecr-login@v2
6766 builder : ${{ steps.buildx.outputs.name }}
6867 context : api
6968 push : true
70- tags : public.ecr.aws/s0v8j8q9/kafbat/kafka-ui :${{ steps.extract_branch.outputs.tag }}
69+ tags : ${{ vars.ECR_REGISTRY }}/${{ github.repository }} :${{ steps.extract_branch.outputs.tag }}
7170 build-args : |
7271 JAR_FILE=api-${{ steps.build.outputs.version }}.jar
7372 cache-from : type=local,src=/tmp/.buildx-cache
7776 with :
7877 issue-number : ${{ github.event.pull_request.number }}
7978 body : |
80- Image published at public.ecr.aws/s0v8j8q9/kafbat/kafka-ui :${{ steps.extract_branch.outputs.tag }}
79+ Image published at ${{ vars.ECR_REGISTRY }}/${{ github.repository }} :${{ steps.extract_branch.outputs.tag }}
8180 outputs :
8281 tag : ${{ steps.extract_branch.outputs.tag }}
You can’t perform that action at this time.
0 commit comments