static-hoster/.woodpecker.yml
Nikurasu 663b405673
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Finalized CI
2023-03-17 12:57:21 +01:00

22 lines
668 B
YAML

workspace:
path: static-hoster
base: /build
pipeline:
build:
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 login -u $USER -p $PASSWORD dev.cat-enby.club
- docker push dev.cat-enby.club/nikurasu/static-hoster:latest
- docker push dev.cat-enby.club/nikurasu/static-hoster:v$CI_COMMIT_TAG
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: tag
secrets: [ user, password ]
branches: main