From 7de411662d6816e88f12db1aa91ce4ea4c6b9ebb Mon Sep 17 00:00:00 2001 From: elee Date: Fri, 4 Mar 2022 02:04:34 -0600 Subject: [PATCH] test tuxpaint --- .agola/config.jsonnet | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.agola/config.jsonnet b/.agola/config.jsonnet index efa169f..3a92b12 100644 --- a/.agola/config.jsonnet +++ b/.agola/config.jsonnet @@ -77,7 +77,8 @@ local task_build(version, arch) = { ], }, environment: { - DOCKERAUTH: { from_variable: 'dockerauth' }, + DOCKERAUTH: { from_variable: 'harborauth' }, + DOCKERURL: { from_variable: 'harborauth' }, }, shell: '/busybox/sh', working_dir: '/workspace', @@ -90,13 +91,13 @@ local task_build(version, arch) = { cat << EOF > /kaniko/.docker/config.json { "auths": { - "https://index.docker.io/v1/": { "auth" : "$DOCKERAUTH" } + "$DOCKERURL": { "auth" : "$DOCKERAUTH" } } } 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'], when: {