Commit 7fb0f789 authored by Lukas Riedel's avatar Lukas Riedel

Fix error with docker login syntax

parent 8db402d5
......@@ -29,7 +29,7 @@ setup:dune-env:
variables:
DOCKER_DRIVER: overlay2
before_script:
- $DOCKER_HUB_PW | docker login -u $DOCKER_HUB_USER index.docker.io
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PW 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_HUB_PW | docker login -u $DOCKER_HUB_USER index.docker.io
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PW 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