update ci to push all tags

This commit is contained in:
sbriat 2023-04-05 11:38:02 +02:00
parent 561c0cc114
commit f9e381ea6c
1 changed files with 1 additions and 2 deletions

View File

@ -45,10 +45,9 @@ build:
docker build
--pull
--cache-from $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
only:
- main