Commit 9b487d6e authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Add gitlab-ci-token user login

parent 346b1d80
Pipeline #11654 failed with stage
in 1 second
......@@ -7,6 +7,7 @@ docker:knot-dns:debian:
before_script:
- docker info
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.labs.nic.cz
- docker build -t "knot-dns/debian:latest" "knot-dns/debian:latest"
- docker tag "knot-dns/debian:latest" "registry.labs.nic.cz/knot/knot-dns/debian:latest"
- docker push "registry.labs.nic.cz/knot/knot-dns/debian:latest"
......@@ -19,6 +20,7 @@ docker:knot-dns:ubuntu:
before_script:
- docker info
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.labs.nic.cz
- docker build -t "knot-dns/ubuntu:latest" "knot-dns/ubuntu:latest"
- docker tag "knot-dns/ubuntu:latest" "registry.labs.nic.cz/knot/knot-dns/ubuntu:latest"
- docker push "registry.labs.nic.cz/knot/knot-dns/ubuntu:latest"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment