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: {
|
environment: {
|
||||||
DOCKERAUTH: { from_variable: 'harbor-auth' },
|
DOCKERAUTH: { from_variable: 'dockerauth' },
|
||||||
DOCKERURL: { from_variable: 'harbor-url' },
|
|
||||||
},
|
},
|
||||||
shell: '/busybox/sh',
|
shell: '/busybox/sh',
|
||||||
working_dir: '/workspace',
|
working_dir: '/workspace',
|
||||||
@ -91,13 +90,13 @@ local task_build(version, arch) = {
|
|||||||
cat << EOF > /kaniko/.docker/config.json
|
cat << EOF > /kaniko/.docker/config.json
|
||||||
{
|
{
|
||||||
"auths": {
|
"auths": {
|
||||||
"$DOCKERURL": { "auth" : "$DOCKERAUTH" }
|
"https://index.docker.io/v1/": { "auth" : "$DOCKERAUTH" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
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'],
|
depends: ['checkout code and save to workspace'],
|
||||||
when: {
|
when: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user