This commit is contained in:
parent
fa6dd791cc
commit
0ffe7547d5
28
.woodpecker.yml
Normal file
28
.woodpecker.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
pipeline:
|
||||||
|
tests:
|
||||||
|
image: golang:1.18
|
||||||
|
commands:
|
||||||
|
- make test
|
||||||
|
|
||||||
|
build_push_latest_gitnet:
|
||||||
|
image: plugins/docker
|
||||||
|
secrets: [registry_user, registry_password]
|
||||||
|
settings:
|
||||||
|
registry: gitnet.fr
|
||||||
|
repo: gitnet.fr/${CI_REPO}
|
||||||
|
tags: latest
|
||||||
|
username:
|
||||||
|
from_secret: registry_user
|
||||||
|
password:
|
||||||
|
from_secret: registry_password
|
||||||
|
|
||||||
|
# build_push_latest_dhub:
|
||||||
|
# image: plugins/docker
|
||||||
|
# secrets: [registry_user, registry_docker_password]
|
||||||
|
# settings:
|
||||||
|
# repo: ${CI_REPO}
|
||||||
|
# tags: latest
|
||||||
|
# username:
|
||||||
|
# from_secret: registry_user
|
||||||
|
# password:
|
||||||
|
# from_secret: registry_docker_password
|
Loading…
Reference in a new issue