We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa822f4 commit a3a05d7Copy full SHA for a3a05d7
1 file changed
.github/workflows/push.yml
@@ -50,3 +50,16 @@ jobs:
50
username: ${{ secrets.DOCKER_USERNAME }}
51
password: ${{ secrets.DOCKER_PASSWORD }}
52
image_tag: latest,${{ env.RELEASE }}
53
+ - name: Configure AWS credentials
54
+ uses: aws-actions/configure-aws-credentials@v1
55
+ with:
56
+ role-to-assume: arn:aws:iam::538673716275:role/dea-conflux_github-actions-role
57
+ aws-region: ap-southeast-2
58
+ - name: Push image to ECR
59
+ uses: whoan/docker-build-with-cache-action@master
60
61
+ context: ./docker
62
+ registry: 538673716275.dkr.ecr.ap-southeast-2.amazonaws.com
63
+ image_name: ${{ env.IMAGE_NAME }}
64
+ image_tag: latest,${{ env.RELEASE }}
65
+ build_extra_args: '{"--build-arg": "UPDATE_VERSION=${{ env.RELEASE }}"}'
0 commit comments