Edit .gitlab-ci.yml
This commit is contained in:
1 parent
74c751e229
commit
0a16ee005e
1 file changed
+1
-1
+1
-1
@@ -16,7 +16,7 @@ build_base:
|
|||||||
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||||
- buildah push ${FQ_IMAGE_NAME}:latest
|
- buildah push ${FQ_IMAGE_NAME}:latest
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main" || $CI_PIPELINE_SOURCE == "schedule"'
|
||||||
when: always
|
when: always
|
||||||
- when: never
|
- when: never
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user