staging updates
This commit is contained in:
@@ -24,13 +24,13 @@ phases:
|
||||
- cp imagedefinitions.json target/
|
||||
- echo Build started on `date`
|
||||
- echo Building the Docker image...
|
||||
- docker build -t $REPOSITORY_URI:latest .
|
||||
- docker tag $REPOSITORY_URI:latest $REPOSITORY_URI:$IMAGE_TAG
|
||||
- docker build -t $REPOSITORY_URI:$TAG_NAME .
|
||||
- docker tag $REPOSITORY_URI:$TAG_NAME $REPOSITORY_URI:$IMAGE_TAG
|
||||
post_build:
|
||||
commands:
|
||||
- echo Build completed on `date`
|
||||
- echo Pushing the Docker images...
|
||||
- docker push $REPOSITORY_URI:latest
|
||||
- docker push $REPOSITORY_URI:$TAG_NAME
|
||||
- docker push $REPOSITORY_URI:$IMAGE_TAG
|
||||
- echo Writing image definitions file...
|
||||
- printf '[{"name":"integreat","imageUri":"%s"}]' $REPOSITORY_URI:$IMAGE_TAG > imagedefinitions.json
|
||||
|
||||
Reference in New Issue
Block a user