Update .gitlab-ci.yml file
This commit is contained in:
parent
b108e04890
commit
09668139a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue