good morning!!!!

Skip to content
Snippets Groups Projects
Commit 83479d59 authored by a's avatar a
Browse files

Update .gitlab-ci.jsonnet

parent 3e0568d7
No related branches found
Tags v0.1.3
No related merge requests found
Pipeline #272 failed with stage
in 10 seconds
local dockerfile_name(image) = if image == "" then "Dockerfile" else "Dockerfile." + image;
local dockerfile_name(image) = if (image == "") then ("Dockerfile") else ("Dockerfile." + image);
local param_cmd(image) = {
cmd: |||
/kaniko/executor
......@@ -6,7 +6,7 @@ local param_cmd(image) = {
--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, df: dockerfile_name(df)},
||| % {img: image, df: dockerfile_name(image)},
};
local param_job(image, depends=[]) = {
stage: 'build',
......@@ -23,7 +23,7 @@ local param_job(image, depends=[]) = {
};
{
"bor": param_job("",[]),
"alltools": param_job("alltools",[]),
"classic": param_job("classic",[]),
"release": param_job("release",[]),
"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