update ci to push all tags
This commit is contained in:
parent
561c0cc114
commit
f9e381ea6c
|
@ -45,10 +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
|
|
||||||
--tag $CI_REGISTRY_IMAGE:$VERSION
|
--tag $CI_REGISTRY_IMAGE:$VERSION
|
||||||
--tag $CI_REGISTRY_IMAGE:latest
|
--tag $CI_REGISTRY_IMAGE:latest
|
||||||
.
|
.
|
||||||
- docker push $CI_REGISTRY_IMAGE:latest
|
- docker push $CI_REGISTRY_IMAGE
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
|
|
Loading…
Reference in New Issue