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/.release.yml

48 lines
996 B
YAML
Raw 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:
2022-01-15 00:29:16 +00:00
- apk add curl tar
- curl -L "https://github.com/pixelfed/pixelfed/archive/refs/tags/${VERSION}.tar.gz" | tar xvz --strip 1
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
2022-01-15 00:32:46 +00:00
context: .
2022-01-15 00:29:16 +00:00
dockerfile: contrib/docker/Dockerfile.apache
2021-12-27 14:46:54 +00:00
tags:
2022-01-15 00:29:16 +00:00
- ${VERSION}
2022-01-15 02:48:54 +00:00
- release
2021-12-27 14:46:54 +00:00
- latest
2021-12-25 21:24:23 +00:00
when:
2021-12-27 14:46:54 +00:00
branch: main
2021-12-25 21:24:23 +00:00
event:
- push
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
2022-01-15 00:32:46 +00:00
context: .
2022-01-15 00:29:16 +00:00
dockerfile: contrib/docker/Dockerfile.apache
2021-12-27 14:46:54 +00:00
tags:
2022-01-15 00:29:16 +00:00
- ${VERSION}
2022-01-15 02:48:54 +00:00
- release
2021-12-27 14:46:54 +00:00
- latest
2021-12-25 21:24:23 +00:00
when:
2021-12-27 14:46:54 +00:00
branch: main
2021-12-25 21:24:23 +00:00
event:
- push
2022-01-15 00:29:16 +00:00
matrix:
VERSION:
- v0.11.1