capture/.woodpecker.yml
Simon Vieille 5346e68c5c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update ci configuration
2023-05-27 17:11:11 +02:00

29 lines
548 B
YAML

variables:
- &golang "golang:1.19"
- &volumes
- /var/www/html/artifacts/capture/deblan:/artifacts
pipeline:
test:
image: *golang
commands:
- go test -v
build:
image: *golang
volumes: *volumes
commands:
- go build -o /artifacts/capture
push-release:
image: plugins/gitea-release
volumes: *volumes
settings:
api_key:
from_secret: gitnet_api_key
base_url: https://gitnet.fr
note: ${CI_COMMIT_MESSAGE}
files: /artifacts/capture
when:
event: [tag]