Add 'latest' tag to the built docker image

This commit is contained in:
Matej Sima 2019-05-27 12:50:11 +02:00
parent f6a3404172
commit d423fa8e84

View File

@ -81,7 +81,7 @@ build-current-docker-image:
stage: build stage: build
<<: *docker <<: *docker
script: script:
- docker build -t $CI_REGISTRY_IMAGE -f ./docker/Dockerfile . - docker build -t $CI_REGISTRY_IMAGE:latest -f ./docker/Dockerfile .
# When a MR/PR is merged to master # When a MR/PR is merged to master
# take the previous build and publish it to Docker Hub # take the previous build and publish it to Docker Hub