fix(CI): set default
This commit is contained in:
parent
85eec553ca
commit
3719527bb3
1 changed files with 15 additions and 13 deletions
|
@ -2,8 +2,9 @@ variables:
|
|||
STORAGE_DRIVER: "vfs"
|
||||
BUILDAH_FORMAT: "docker"
|
||||
|
||||
image: "quay.io/buildah/stable"
|
||||
before_script:
|
||||
default:
|
||||
image: "quay.io/buildah/stable"
|
||||
before_script:
|
||||
- buildah login --u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
- source environment
|
||||
- >
|
||||
|
@ -15,6 +16,7 @@ before_script:
|
|||
--build-arg collab_text="${COLLAB_TEXT}"
|
||||
--build-arg admin_is_sysadmin="${ADMIN_IS_SYSADMIN}"
|
||||
-t "$CI_REGISTRY_IMAGE" .
|
||||
|
||||
build-main:
|
||||
script:
|
||||
- buildah tag "$CI_REGISTRY_IMAGE" "$CI_REGISTRY_IMAGE:branch-$CI_COMMIT_REF_SLUG"
|
Loading…
Reference in a new issue