This commit is contained in:
Mylloon 2021-07-27 23:05:47 +02:00
parent 397446b187
commit a6ae220ff9

View file

@ -13,8 +13,8 @@ docker-build:
- 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 .
- docker tag TwitchBot:latest registry.gitlab.com/confreriedukassoulait/twitchbot:${CI_COMMIT_SHORT_SHA} - docker tag twitchbot:latest registry.gitlab.com/confreriedukassoulait/twitchbot:${CI_COMMIT_SHORT_SHA}
- docker tag TwitchBot:latest registry.gitlab.com/confreriedukassoulait/twitchbot:latest - docker tag twitchbot:latest registry.gitlab.com/confreriedukassoulait/twitchbot:latest
- docker push registry.gitlab.com/confreriedukassoulait/twitchbot:${CI_COMMIT_SHORT_SHA} - docker push registry.gitlab.com/confreriedukassoulait/twitchbot:${CI_COMMIT_SHORT_SHA}
- docker push registry.gitlab.com/confreriedukassoulait/twitchbot:latest - docker push registry.gitlab.com/confreriedukassoulait/twitchbot:latest