Added docker auth
agola/docker-dind-buildx/Build image The run failed
Details
agola/docker-dind-buildx/Build image The run failed
Details
This commit is contained in:
parent
bbb9a07ec6
commit
1d8d02bf29
|
@ -35,7 +35,17 @@ runs:
|
|||
steps:
|
||||
- restore_workspace:
|
||||
dest_dir: .
|
||||
#- run: /kaniko/executor --no-push
|
||||
|
||||
- run:
|
||||
name: generate docker config
|
||||
command: |
|
||||
cat << EOF > /kaniko/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"https://mxfox.ru/v1/": { "auth" : "`echo -n \"$DOCKERLOGIN:$DOCKERPASS\" | base64`" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- run: /kaniko/executor --destination mxfox.ru/mxfox/docker-dind.buildx:latest
|
||||
depends:
|
||||
- checkout code
|
||||
|
|
Loading…
Reference in New Issue