th: add woodpecker CI
This commit is contained in:
parent
c8f704e1a0
commit
5742b395f1
1 changed files with 20 additions and 0 deletions
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
pipeline:
|
||||
login:
|
||||
image: docker
|
||||
commands:
|
||||
- echo $REGISTRY_SECRET | docker login -u ariadne --password-stdin gitea.treehouse.systems
|
||||
when:
|
||||
event: [push, tag]
|
||||
secrets: [REGISTRY_SECRET]
|
||||
|
||||
build:
|
||||
image: docker
|
||||
commands:
|
||||
- docker image build -f Dockerfile . -t gitea.treehouse.systems/treehouse/mastodon:latest
|
||||
|
||||
push:
|
||||
image: docker
|
||||
commands:
|
||||
- docker image push --all-tags gitea.treehouse.systems/treehouse/mastodon
|
||||
when:
|
||||
event: [push, tag]
|
Loading…
Reference in a new issue