mirror of
https://gitlab.com/djdietrick/docs
synced 2026-05-03 00:20:54 -04:00
Added latest tag
This commit is contained in:
@@ -16,9 +16,9 @@ build:
|
|||||||
before_script:
|
before_script:
|
||||||
- amazon-linux-extras install docker
|
- amazon-linux-extras install docker
|
||||||
script: |
|
script: |
|
||||||
docker build -t $DOCKER_REGISTRY/$REPOSITORY_NAME:$CI_PIPELINE_ID .
|
docker build -t $DOCKER_REGISTRY/$REPOSITORY_NAME:$CI_PIPELINE_ID -t $DOCKER_REGISTRY/$REPOSITORY_NAME:latest .
|
||||||
aws ecr get-login-password | docker login --username AWS --password-stdin $DOCKER_REGISTRY
|
aws ecr get-login-password | docker login --username AWS --password-stdin $DOCKER_REGISTRY
|
||||||
docker push $DOCKER_REGISTRY/$REPOSITORY_NAME:$CI_PIPELINE_ID
|
docker push $DOCKER_REGISTRY/$REPOSITORY_NAME --all-tags
|
||||||
|
|
||||||
# variables:
|
# variables:
|
||||||
# SERVICE_NAME: "docs"
|
# SERVICE_NAME: "docs"
|
||||||
|
|||||||
Reference in New Issue
Block a user