parent
0e5bbbb2a0
commit
b16e51219a
1 changed files with 3 additions and 2 deletions
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue