diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69ff718..be8b230 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,8 @@ docker-build: image: docker:stable stage: build script: + - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - docker pull registry.gitlab.com/confreriedukassoulait/twitchbot:latest || true - docker build --cache-from registry.gitlab.com/confreriedukassoulait/twitchbot:latest -t twitchbot .