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