Added secrets
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Nikurasu 2023-03-17 12:53:07 +01:00
parent a8c581a348
commit deba419541
Signed by: Nikurasu
SSH key fingerprint: SHA256:Iw2UoxkrPR8iAXYVMPJIws3eX8ZyNrNr4y2HlJkZTpY

View file

@ -9,10 +9,12 @@ 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
secrets: [ user, password ]
branches: main