Compare commits
3 Commits
9c4598973d
...
4d32019249
Author | SHA1 | Date |
---|---|---|
elee | 4d32019249 | |
elee | 81a2faf4ab | |
elee | d1b067e81b |
|
@ -77,8 +77,8 @@ local task_build(version, arch) = {
|
|||
],
|
||||
},
|
||||
environment: {
|
||||
DOCKERAUTH: { from_variable: 'harborauth' },
|
||||
DOCKERURL: { from_variable: 'harborurl' },
|
||||
DOCKERAUTH: { from_variable: 'harbor-auth' },
|
||||
DOCKERURL: { from_variable: 'harbor-url' },
|
||||
},
|
||||
shell: '/busybox/sh',
|
||||
working_dir: '/workspace',
|
||||
|
@ -91,7 +91,7 @@ local task_build(version, arch) = {
|
|||
cat << EOF > /kaniko/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"$DOCKERURL": { "auth" : "$DOCKERAUTH" }
|
||||
"harbor.tuxpa.in": { "auth": "cm9ib3QkdHV4Ok5uMHU3Z1Q1TU1GZE5kVjJFS0FnRlJlME0xMVBjeDJs" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue