Skip to content

Commit

Permalink
buildspec: Also tag image as "latest"
Browse files Browse the repository at this point in the history
This will help us play nicely with our Terraform code that creates ECS
task definitions, but which doesn't know the current pipeline status.
  • Loading branch information
emk committed Apr 23, 2017
1 parent 1ba7024 commit 8ce4721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ phases:
- echo "Build completed on `date -u +%FT%TZ` (ISO-8601)"
- echo "Pushing the Docker image"
- docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$(cat GIT_COMMIT_ID)
- docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:latest

0 comments on commit 8ce4721

Please sign in to comment.