capture/.woodpecker.yml
Simon Vieille 9fef304bab
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update ci configuration
2023-05-26 17:03:45 +02:00

21 lines
426 B
YAML

variables:
- &golang "golang:1.19"
pipeline:
test:
image: *golang
commands:
- go test -v
build:
image: *golang
commands:
- go build
- ART=/artifacts/deblan/capture
- test -d $ART || mkdir $ART
- cp capture $ART/capture-latest
- TAG=${CI_COMMIT_TAG}
- test -n $TAG && cp capture $ART/capture-$TAG || true
volumes:
- /var/www/html/artifacts:/artifacts