This commit is contained in:
Mylloon 2021-07-27 23:09:23 +02:00
parent a6ae220ff9
commit 90e1ff1cec

View file

@ -10,6 +10,8 @@ docker-build:
image: docker:stable image: docker:stable
stage: build stage: build
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull registry.gitlab.com/confreriedukassoulait/twitchbot:latest || true - docker pull registry.gitlab.com/confreriedukassoulait/twitchbot:latest || true
- docker build --cache-from registry.gitlab.com/confreriedukassoulait/twitchbot:latest -t twitchbot . - docker build --cache-from registry.gitlab.com/confreriedukassoulait/twitchbot:latest -t twitchbot .