Fix docker config
Albatros default Details

This commit is contained in:
Quentin 2023-05-04 15:40:24 +02:00
parent 0e5bbbb2a0
commit b16e51219a
Signed by: quentin
GPG Key ID: E9602264D639FF68
1 changed files with 3 additions and 2 deletions

View File

@ -11,10 +11,11 @@ source $SECRET_PATH
set -x
# Configure Docker Auth
cat > .docker.json <<EOF
mkdir .docker
cat > .docker/config.json <<EOF
{"auths":{"https://index.docker.io/v1/":{"auth":"${DOCKER_AUTH}"}}}
EOF
export DOCKER_CONFIG=`pwd`/.docker.json
export DOCKER_CONFIG=`pwd`/.docker/
# Hack to circumvent "initializing source docker-archive:docker/linux.386.tar.gz: creating temporary file: open /var/tmp/docker-tar1213702538: no such file or directory"
mkdir -p /var/tmp/