hi
This commit is contained in:
commit
b44f7f85f3
16 changed files with 302 additions and 0 deletions
13
.gitlab/docker-login
Executable file
13
.gitlab/docker-login
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh -eu
|
||||
|
||||
mkdir ~/.docker
|
||||
|
||||
cat <<DOCKER_CONF > ~/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"$CI_REGISTRY": {
|
||||
"auth": "$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64)"
|
||||
}
|
||||
}
|
||||
}
|
||||
DOCKER_CONF
|
Loading…
Add table
Add a link
Reference in a new issue