forked from potsda.mn/mobilizon
Fix pushing to latest docker tag only if needed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
07a1118fab
commit
156490af62
|
@ -233,7 +233,7 @@ build-and-push-to-latest-docker-tag:
|
|||
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
|
||||
when: never
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_TAG !~ /alpha|beta|rc/
|
||||
- if: $CI_COMMIT_TAG =~ /alpha|beta|rc/
|
||||
when: never
|
||||
timeout: 3 hours
|
||||
script:
|
||||
|
@ -252,7 +252,7 @@ build-and-push-docker-tag:
|
|||
when: never
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_TAG =~ /alpha|beta|rc/
|
||||
when: never
|
||||
when: always
|
||||
timeout: 3 hours
|
||||
script:
|
||||
- >
|
||||
|
|
Loading…
Reference in a new issue