Added secrets
This commit is contained in:
parent
a8c581a348
commit
deba419541
1 changed files with 2 additions and 0 deletions
|
@ -9,10 +9,12 @@ pipeline:
|
||||||
privileged: true
|
privileged: true
|
||||||
commands:
|
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 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
|
- docker push dev.cat-enby.club/nikurasu/static-hoster:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
secrets: [ user, password ]
|
||||||
|
|
||||||
branches: main
|
branches: main
|
||||||
|
|
Loading…
Reference in a new issue