diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 216efcf..8b17865 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -55,9 +55,11 @@ jobs: docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" + - name: Download task definition - run: | - aws ecs describe-task-definition --task-definition ascan_devops --query taskDefinition > task-definition.json + run: | + aws ecs describe-task-definition --task-definition ascan_devops --query taskDefinition > task-definition.json + - name: Fill in the new image ID in the Amazon ECS task definition id: task-def uses: aws-actions/amazon-ecs-render-task-definition@v1