Commit 3619f548 authored by Ben Gamari's avatar Ben Gamari 🐢

docker login

parent eeaaf87b
......@@ -19,6 +19,7 @@ before_script:
script:
- |
CONTAINER_IMAGE="$CONTAINER_IMAGE_BASE/$IMAGE
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.haskell.org
docker pull $CONTAINER_IMAGE:latest || true
docker build --cache-from $CONTAINER_IMAGE:latest --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:latest linters/
docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
......
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