Added push
This commit is contained in:
parent
dbe3fcd48c
commit
d53037cb7a
1 changed files with 4 additions and 0 deletions
|
@ -9,7 +9,11 @@ pipeline:
|
|||
privileged: true
|
||||
commands:
|
||||
- docker buildx build --no-cache -t dev.cat-enby.club/nikurasu/static-hoster:latest -t dev.cat-enby.club/nikurasu/static-hoster:v$CI_COMMIT_TAG -f dev/docker/images/production/Dockerfile .
|
||||
- docker login -u $user -p $password
|
||||
- docker push dev.cat-enby.club/nikurasu/static-hoster:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
event: tag
|
||||
|
||||
branches: main
|
||||
|
|
Loading…
Reference in a new issue