Skip to content

Commit f187457

Browse files
committed
New files for codebuild
1 parent 3b656ef commit f187457

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildspec.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ phases:
1212
- echo Build started on `date`
1313
- echo Building the Docker image...
1414
- docker build -t $REPOSITORY_URI:latest .
15-
- docker tag $REPOSITORY_URI:latest $REPOSITORY_URI:$IMAGE_TAG
15+
# - docker tag $REPOSITORY_URI:latest $REPOSITORY_URI:$IMAGE_TAG
1616
post_build:
1717
commands:
1818
- echo Build completed on `date`
1919
- echo Pushing the Docker images...
2020
- docker push $REPOSITORY_URI:latest
21-
- docker push $REPOSITORY_URI:$IMAGE_TAG
21+
# - docker push $REPOSITORY_URI:$IMAGE_TAG
2222
- echo Writing image definitions file...
23-
- printf '[{"name":"%s","imageUri":"%s"}]' $CONTAINER_NAME $REPOSITORY_URI:$IMAGE_TAG > imagedefinitions.json
23+
- printf '[{"name":"%s","imageUri":"%s"}]' $CONTAINER_NAME $REPOSITORY_URI:latest > imagedefinitions.json
2424
artifacts:
2525
files: imagedefinitions.json

0 commit comments

Comments
 (0)