Compare commits
No commits in common. "master" and "v0.6.0-1" have entirely different histories.
@ -77,8 +77,7 @@ local task_build(version, arch) = {
|
||||
],
|
||||
},
|
||||
environment: {
|
||||
DOCKERAUTH: { from_variable: 'harbor-auth' },
|
||||
DOCKERURL: { from_variable: 'harbor-url' },
|
||||
DOCKERAUTH: { from_variable: 'dockerauth' },
|
||||
},
|
||||
shell: '/busybox/sh',
|
||||
working_dir: '/workspace',
|
||||
@ -91,13 +90,13 @@ local task_build(version, arch) = {
|
||||
cat << EOF > /kaniko/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"$DOCKERURL": { "auth" : "$DOCKERAUTH" }
|
||||
"https://index.docker.io/v1/": { "auth" : "$DOCKERAUTH" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|||,
|
||||
},
|
||||
{ type: 'run', command: '/kaniko/executor --destination $DOCKERURL/tux/agola-web:$AGOLA_GIT_TAG' },
|
||||
{ type: 'run', command: '/kaniko/executor --destination sorintlab/agola-web:$AGOLA_GIT_TAG' },
|
||||
],
|
||||
depends: ['checkout code and save to workspace'],
|
||||
when: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user