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