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"'
|
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: $CI_COMMIT_TAG !~ /alpha|beta|rc/
|
- if: $CI_COMMIT_TAG =~ /alpha|beta|rc/
|
||||||
when: never
|
when: never
|
||||||
timeout: 3 hours
|
timeout: 3 hours
|
||||||
script:
|
script:
|
||||||
@ -252,7 +252,7 @@ build-and-push-docker-tag:
|
|||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: $CI_COMMIT_TAG =~ /alpha|beta|rc/
|
- if: $CI_COMMIT_TAG =~ /alpha|beta|rc/
|
||||||
when: never
|
when: always
|
||||||
timeout: 3 hours
|
timeout: 3 hours
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
|
Loading…
Reference in New Issue
Block a user