test tuxpaint
agola/agola-web/agola web build/test The run failed Details

This commit is contained in:
elee 2022-03-04 02:04:34 -06:00
parent 77f7af09ab
commit 7de411662d
1 changed files with 4 additions and 3 deletions

View File

@ -77,7 +77,8 @@ local task_build(version, arch) = {
], ],
}, },
environment: { environment: {
DOCKERAUTH: { from_variable: 'dockerauth' }, DOCKERAUTH: { from_variable: 'harborauth' },
DOCKERURL: { from_variable: 'harborauth' },
}, },
shell: '/busybox/sh', shell: '/busybox/sh',
working_dir: '/workspace', working_dir: '/workspace',
@ -90,13 +91,13 @@ local task_build(version, arch) = {
cat << EOF > /kaniko/.docker/config.json cat << EOF > /kaniko/.docker/config.json
{ {
"auths": { "auths": {
"https://index.docker.io/v1/": { "auth" : "$DOCKERAUTH" } "$DOCKERURL": { "auth" : "$DOCKERAUTH" }
} }
} }
EOF EOF
|||, |||,
}, },
{ type: 'run', command: '/kaniko/executor --destination sorintlab/agola-web:$AGOLA_GIT_TAG' }, { type: 'run', command: '/kaniko/executor --destination build.tuxpa.in/tux/agola-web:$AGOLA_GIT_TAG' },
], ],
depends: ['checkout code and save to workspace'], depends: ['checkout code and save to workspace'],
when: { when: {