add ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-01-01 13:39:54 +01:00
parent 3491c9124d
commit f753b66a90
Signed by: deblan
GPG key ID: 579388D585F70417

28
.woodpecker.yml Normal file
View file

@ -0,0 +1,28 @@
pipeline:
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]
build_tag:
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: ${CI_COMMIT_TAG}
when:
event: [tag]