File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 restore-keys : |
3333 ${{ runner.os }}-buildx-
3434
35+ - name : Login to Amazon ECR Public
36+ id : login-ecr-public
37+ uses : aws-actions/amazon-ecr-login@v2
38+ with :
39+ registry-type : public
40+
3541 - name : Build Image
3642 uses : docker/build-push-action@v5
3743 with :
4046 load : true
4147 cache-from : type=local,src=/tmp/.buildx-cache
4248 cache-to : type=local,dest=/tmp/.buildx-cache-new
43- build_args : |
49+ build-args : |
4450 RUBY_VERSION=${{ steps.extract_refs.outputs.tag }}
4551
52+ - name : Build & Push Image
53+ uses : docker/build-push-action@v6
54+ with :
55+ load : true
56+ push : true
57+ tags : ${{ steps.login-ecr-public.outputs.registry }}/${{ vars.ECS_REGISTRY_ALIAS }}/${{ vars.ECS_REPOSITORY_NAME }}:${{ steps.extract_refs.outputs.tag }}
58+ cache-from : type=local,src=/tmp/.buildx-cache
59+ cache-to : type=local,dest=/tmp/.buildx-cache-new
60+
4661 - name : Push Image to Amazon ECR
4762 id : ecr_sha_ruby
4863 uses : jwalton/gh-ecr-push@v2
You can’t perform that action at this time.
0 commit comments