Commit 89d3a9ed authored by Ben Gamari's avatar Ben Gamari 🐢

Try fixing docker login

parent 0c6b1393
......@@ -31,7 +31,7 @@ lint:
script:
- |
CONTAINER_IMAGE="$CONTAINER_IMAGE_BASE/$IMAGE"
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.haskell.org
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
docker pull $CONTAINER_IMAGE:latest || true
docker build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:latest $IMAGE
if [ -z "$CI_MERGE_REQUEST_ID" ]; then
......
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