Compare commits
8 Commits
dependabot
...
master
Author | SHA1 | Date |
---|---|---|
elee | 0cd11ce578 | |
elee | 583dd58e20 | |
elee | 4d32019249 | |
elee | 81a2faf4ab | |
elee | d1b067e81b | |
elee | 9c4598973d | |
elee | 8794196988 | |
elee | 7de411662d |
|
@ -77,7 +77,8 @@ local task_build(version, arch) = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
environment: {
|
environment: {
|
||||||
DOCKERAUTH: { from_variable: 'dockerauth' },
|
DOCKERAUTH: { from_variable: 'harbor-auth' },
|
||||||
|
DOCKERURL: { from_variable: 'harbor-url' },
|
||||||
},
|
},
|
||||||
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 $DOCKERURL/tux/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