Commit 8db402d5 authored by Lukas Riedel's avatar Lukas Riedel

Use DockerHub credentials for login during CI builds

parent 18a9641e
......@@ -29,7 +29,7 @@ setup:dune-env:
variables:
DOCKER_DRIVER: overlay2
before_script:
- docker login
- $DOCKER_HUB_PW | docker login -u $DOCKER_HUB_USER index.docker.io
script:
- docker build --build-arg PROCNUM=$DIND_PROCNUM -f dockerfiles/dune-env -t dorie/dune-env:2.5.1 .
- docker push dorie/dune-env:2.5.1
......@@ -177,7 +177,7 @@ deploy:docker:
variables:
DOCKER_DRIVER: overlay2
before_script:
- docker login
- $DOCKER_HUB_PW | docker login -u $DOCKER_HUB_USER index.docker.io
script:
- docker build --build-arg PROCNUM=$DIND_PROCNUM -f dockerfiles/dorie -t dorie/dorie:devel .
- docker push dorie/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