Add 'latest' tag to the built docker image
This commit is contained in:
parent
f6a3404172
commit
d423fa8e84
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user