add ci
This commit is contained in:
commit
576780068f
2 changed files with 22 additions and 0 deletions
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
pipeline:
|
||||
shellcheck:
|
||||
image: koalaman/shellcheck
|
||||
commands:
|
||||
- shellcheck ./timeout
|
||||
|
||||
build_commit:
|
||||
image: plugins/docker
|
||||
secrets: [registry_user, registry_password]
|
||||
settings:
|
||||
username:
|
||||
from_secret: registry_user
|
||||
password:
|
||||
from_secret: registry_password
|
||||
registry: gitnet.fr
|
||||
repo: gitnet.fr/${CI_REPO}
|
||||
tags: latest
|
||||
when:
|
||||
event: [push]
|
||||
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
FROM alpine:3
|
||||
|
||||
ENTRYPOINT ["./timeout"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue