fix gitlab docker tag
This commit is contained in:
parent
6e3d0a2d74
commit
c6390ced04
|
@ -45,7 +45,9 @@ build:
|
||||||
docker build
|
docker build
|
||||||
--pull
|
--pull
|
||||||
--cache-from $CI_REGISTRY_IMAGE:latest
|
--cache-from $CI_REGISTRY_IMAGE:latest
|
||||||
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$VERSION $CI_REGISTRY_IMAGE:latest
|
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
|
--tag $CI_REGISTRY_IMAGE:$VERSION
|
||||||
|
--tag $CI_REGISTRY_IMAGE:latest
|
||||||
.
|
.
|
||||||
- docker push $CI_REGISTRY_IMAGE:latest
|
- docker push $CI_REGISTRY_IMAGE:latest
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in New Issue