Update .gitlab-ci.yml file

This commit is contained in:
Sylvain Briat 2023-04-05 10:01:27 +00:00
parent b108e04890
commit 09668139a3
1 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ test:
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_COMMIT_MESSAGE =~ /--check/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: always
when: manual
###############
# BUILD STAGE #
@ -50,6 +50,7 @@ build:
--tag $CI_REGISTRY_IMAGE:latest
.
- docker image ls
- docker push $CI_REGISTRY_IMAGE
- docker push $CI_REGISTRY_IMAGE:$VERSION
- docker push $CI_REGISTRY_IMAGE:latest
only:
- main