16 lines
320 B
YAML
16 lines
320 B
YAML
pipeline:
|
|
test:
|
|
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
|