Fix docker config
Some checks reported errors
Albatros default

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

View file

@ -11,10 +11,11 @@ source $SECRET_PATH
set -x set -x
# Configure Docker Auth # Configure Docker Auth
cat > .docker.json <<EOF mkdir .docker
cat > .docker/config.json <<EOF
{"auths":{"https://index.docker.io/v1/":{"auth":"${DOCKER_AUTH}"}}} {"auths":{"https://index.docker.io/v1/":{"auth":"${DOCKER_AUTH}"}}}
EOF 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" # 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/ mkdir -p /var/tmp/