This repository has been archived on 2022-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
pixelfed/.woodpecker/.dev.yml

51 lines
1,016 B
YAML
Raw Permalink Normal View History

2021-12-25 21:24:23 +00:00
pipeline:
2021-12-27 14:48:51 +00:00
download:
2021-12-27 14:46:54 +00:00
image: alpine
commands:
- apk add git
- git clone https://github.com/pixelfed/pixelfed.git
2022-01-15 00:32:46 +00:00
- cd pixelfed
2022-01-15 00:29:16 +00:00
- git checkout ${BRANCH}
2022-01-16 11:23:37 +00:00
when:
branch: main
event:
- push
2021-12-25 21:24:23 +00:00
docker:
image: plugins/docker
secrets:
- DOCKER_USERNAME
- DOCKER_PASSWORD
2021-12-27 14:46:54 +00:00
settings:
repo: spcodes/pixelfed
context: pixelfed
dockerfile: pixelfed/contrib/docker/Dockerfile.apache
tags:
2022-01-15 00:29:16 +00:00
- ${BRANCH}
2022-01-16 11:23:37 +00:00
when:
branch: main
event:
- push
2021-12-25 21:24:23 +00:00
cr:
image: plugins/docker
secrets:
- source: CR_USERNAME
target: DOCKER_USERNAME
- source: CR_PASSWORD
target: DOCKER_PASSWORD
2021-12-27 14:46:54 +00:00
settings:
registry: cr.sp-codes.de
repo: cr.sp-codes.de/pixelfed
context: pixelfed
dockerfile: pixelfed/contrib/docker/Dockerfile.apache
tags:
2022-01-15 00:29:16 +00:00
- ${BRANCH}
2022-01-16 11:23:37 +00:00
when:
branch: main
event:
- push
2022-01-15 00:29:16 +00:00
matrix:
BRANCH:
- dev
- staging