good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3e0568d7 authored by a's avatar a
Browse files

Update .gitlab-ci.jsonnet

parent c1c6f006
No related branches found
Tags v0.1.3
No related merge requests found
Pipeline #271 failed with stage
in 10 seconds
local dockerfile_name(image) = if image == "" then "Dockerfile" else "Dockerfile." + image;
local param_cmd(image) = {
cmd: |||
/kaniko/executor
--context ${CI_PROJECT_DIR}
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--dockerfile "${CI_PROJECT_DIR}/%(df)s"
--destination "${CI_REGISTRY_IMAGE}/%(img)s:${CI_COMMIT_SHORT_SHA}"
--destination "${CI_REGISTRY_IMAGE}/%(img)s:latest"
||| % {img: image},
||| % {img: image, df: dockerfile_name(df)},
};
local param_job(image, depends=[]) = {
stage: 'build',
......@@ -21,5 +22,8 @@ local param_job(image, depends=[]) = {
]
};
{
"heimdall": param_job("heimdall",[]),
"bor": param_job("",[]),
"alltools": param_job("alltools",[]),
"classic": param_job("classic",[]),
"release": param_job("release",[]),
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment