diff --git a/.agola/config.yml b/.agola/config.yml index 890dce6..88c1a78 100644 --- a/.agola/config.yml +++ b/.agola/config.yml @@ -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