Compare commits

...

2 commits

Author SHA1 Message Date
Nikurasu d53037cb7a
Added push
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2023-03-17 12:44:07 +01:00
Nikurasu dbe3fcd48c
It was correct but I didn't tagged
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2023-03-17 12:23:08 +01:00

View file

@ -8,8 +8,12 @@ pipeline:
image: docker:23-cli
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 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