This commit is contained in:
commit
14fbe3ef55
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
pipeline:
|
||||
build_commit:
|
||||
image: docker:stable
|
||||
commands:
|
||||
- docker build
|
||||
--tag gitnet.fr/$CI_REPO:$CI_COMMIT_SHA
|
||||
.
|
||||
- docker push gitnet.fr/$CI_REPO:$CI_COMMIT_SHA
|
||||
when:
|
||||
event: [push]
|
||||
|
||||
build_commit:
|
||||
image: docker:stable
|
||||
commands:
|
||||
- docker build
|
||||
--tag gitnet.fr/$CI_REPO:$CI_COMMIT_TAG
|
||||
.
|
||||
- docker push gitnet.fr/$CI_REPO:$CI_COMMIT_TAG
|
||||
when:
|
||||
event: [tag]
|
Loading…
Reference in a new issue