This commit is contained in:
parent
404138abaf
commit
22eded5d78
1 changed files with 20 additions and 11 deletions
|
@ -1,15 +1,22 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
|
clone:
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- apk add git
|
||||||
|
- git clone https://github.com/pixelfed/pixelfed.git
|
||||||
docker:
|
docker:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
secrets:
|
secrets:
|
||||||
- DOCKER_USERNAME
|
- DOCKER_USERNAME
|
||||||
- DOCKER_PASSWORD
|
- DOCKER_PASSWORD
|
||||||
repo: spcodes/pixelfed
|
settings:
|
||||||
tags:
|
repo: spcodes/pixelfed
|
||||||
- latest
|
context: pixelfed
|
||||||
|
dockerfile: pixelfed/contrib/docker/Dockerfile.apache
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
when:
|
when:
|
||||||
branch:
|
branch: main
|
||||||
- main
|
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
cr:
|
cr:
|
||||||
|
@ -19,12 +26,14 @@ pipeline:
|
||||||
target: DOCKER_USERNAME
|
target: DOCKER_USERNAME
|
||||||
- source: CR_PASSWORD
|
- source: CR_PASSWORD
|
||||||
target: DOCKER_PASSWORD
|
target: DOCKER_PASSWORD
|
||||||
registry: cr.sp-codes.de
|
settings:
|
||||||
repo: cr.sp-codes.de/pixelfed
|
registry: cr.sp-codes.de
|
||||||
tags:
|
repo: cr.sp-codes.de/pixelfed
|
||||||
- latest
|
context: pixelfed
|
||||||
|
dockerfile: pixelfed/contrib/docker/Dockerfile.apache
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
when:
|
when:
|
||||||
branch:
|
branch: main
|
||||||
- main
|
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
Reference in a new issue