add artifacts in ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
957e3ed211
commit
667643445b
|
@ -3,7 +3,13 @@ pipeline:
|
|||
image: golang:1.19
|
||||
commands:
|
||||
- go test -v
|
||||
|
||||
build:
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- go build
|
||||
- ART=/artifacts/deblan/capture
|
||||
- test -d $ART || mkdir $ART
|
||||
- cp capture $ART/capture-${CI_COMMIT_SHA:0:8}
|
||||
volumes:
|
||||
- /var/www/html/artifacts:/artifacts
|
||||
|
|
Loading…
Reference in a new issue