File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 aws-region : ${{ secrets.AWS_REGION }}
6161
6262 - name : Set up Docker Buildx
63- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
63+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
6464
6565 - name : Login to Amazon ECR
6666 id : login-ecr
7979 # We could also cache the cache mounts used in the Dockerfile but do not,
8080 # see https://docs.docker.com/build/ci/github-actions/cache/
8181 - name : Build and push
82- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
82+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
8383 with :
8484 push : true
8585 tags : ${{ secrets.AWS_ECR }}/${{ inputs.IMAGE_NAME }}:${{ inputs.IMAGE_TAG }}
Original file line number Diff line number Diff line change 6565 aws-region : us-east-1 # This is the region for the public ECR
6666
6767 - name : Set up Docker Buildx
68- uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
68+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
6969
7070 - name : Login to Amazon ECR
7171 id : login-ecr-public
7979 - name : Docker metadata (auto-generated tags)
8080 id : meta-auto
8181 if : inputs.IMAGE_TAG == ''
82- uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
82+ uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6
8383 with :
8484 images : ${{ steps.login-ecr-public.outputs.registry }}/${{ inputs.AWS_ECR_ALIAS }}/${{ inputs.IMAGE_NAME }}
8585 flavor : |
9898 - name : Docker metadata (explicit tag)
9999 id : meta-override
100100 if : inputs.IMAGE_TAG != ''
101- uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
101+ uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6
102102 with :
103103 images : ${{ steps.login-ecr-public.outputs.registry }}/${{ inputs.AWS_ECR_ALIAS }}/${{ inputs.IMAGE_NAME }}
104104 flavor : |
@@ -114,7 +114,7 @@ jobs:
114114 # We could also cache the cache mounts used in the Dockerfile but do not,
115115 # see https://docs.docker.com/build/ci/github-actions/cache/
116116 - name : Build and push
117- uses : docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
117+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
118118 with :
119119 context : ${{ inputs.BUILD_CONTEXT }}
120120 push : true
Original file line number Diff line number Diff line change 8585 - uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
8686 with :
8787 name : cover.out
88- - uses : geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5
88+ - uses : geekyeggo/delete-artifact@176a747ab7e287e3ff4787bf8a148716375ca118 # v6
8989 with :
9090 name : cover.out
9191 - name : Check test coverage
You can’t perform that action at this time.
0 commit comments