cobalt/.woodpecker.yml
Nikurasu 71582971e6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
False package name
2023-04-11 14:19:19 +02:00

20 lines
614 B
YAML

workspace:
path: static-hoster
base: /build
pipeline:
build:
image: docker:23-cli
privileged: true
commands:
- apk add git
- docker buildx build --no-cache -t dev.cat-enby.club/nikurasu/cobalt:latest -t dev.cat-enby.club/nikurasu/cobalt:$(date "+%Y-%m-%d") -f Dockerfile .
- docker login -u $USER -p $PASSWORD dev.cat-enby.club
- docker push dev.cat-enby.club/nikurasu/cobalt:latest
- docker push dev.cat-enby.club/nikurasu/cobalt:$(date "+%Y-%m-%d")
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets: [ user, password ]
branches: current