test build.yml
This commit is contained in:
parent
84ca866c8a
commit
0ffdcdfa64
14
.build.yml
Normal file
14
.build.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
image: alpine/edge
|
||||||
|
packages:
|
||||||
|
- go
|
||||||
|
sources:
|
||||||
|
- https://git.sr.ht/~motiejus/undocker
|
||||||
|
tasks:
|
||||||
|
- test: |
|
||||||
|
cd undocker
|
||||||
|
go test -cover ./...
|
||||||
|
- build: |
|
||||||
|
cd undocker
|
||||||
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build .
|
||||||
|
artifacts:
|
||||||
|
- undocker/undocker
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/undocker
|
Loading…
Reference in New Issue
Block a user