File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -206,12 +206,14 @@ jobs:
206206 run : |
207207 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$SEMANTIC_VERSION .
208208 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$SEMANTIC_VERSION
209+
209210 - name : Set Image URI
210211 if : steps.get_version.outputs.HAS_VERSION == 'true'
211212 id : set-image
212213 run : |
213214 ECR_REGISTRY=$(aws ecr describe-repositories --repository-names ${{ env.ECR_REPOSITORY }} --query "repositories[0].registryId" --output text).dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com
214215 echo "image=$ECR_REGISTRY/${{ env.ECR_REPOSITORY }}:${{ env.SEMANTIC_VERSION }}" >> $GITHUB_OUTPUT
216+
215217 - name : Get latest ECS task definition
216218 if : steps.get_version.outputs.HAS_VERSION == 'true'
217219 id : get-latest-task-def
@@ -227,6 +229,7 @@ jobs:
227229 task-definition : task-definition.json
228230 container-name : ${{ env.CONTAINER_NAME }}
229231 image : ${{ steps.set-image.outputs.image }}
232+
230233 - name : Deploy Amazon ECS task definition and wait for stability
231234 if : steps.get_version.outputs.HAS_VERSION == 'true'
232235 id : deploy-ecs
You can’t perform that action at this time.
0 commit comments