File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3636 id : login-ecr
3737 uses : aws-actions/amazon-ecr-login@v1
3838
39- - name : Build, tag, and push image to Amazon ECR
39+ - name : Build, tag, and push release image to Amazon ECR
4040 id : build-image
4141 if : github.ref_type == 'tag'
4242 env :
4747 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4848 echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
4949
50- - name : Build, tag, and push image to Amazon ECR
50+ - name : Build, tag, and push branch image to Amazon ECR
5151 id : build-image-branch
5252 if : github.ref_type == 'branch'
5353 env :
5858 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
5959 echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
6060
61- - name : Build, tag, and push image to Amazon ECR
61+ - name : Build, tag, and push latest image to Amazon ECR
6262 id : build-image-main
6363 if : github.ref_type == 'branch' && github.ref_name == 'main'
6464 env :
You can’t perform that action at this time.
0 commit comments