Update
This commit is contained in:
parent
0066619efb
commit
397446b187
1 changed files with 6 additions and 6 deletions
|
@ -10,11 +10,11 @@ docker-build:
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- 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:latest .
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue