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

50 lines
1,017 B
YAML
Raw Permalink Normal View History

2021-12-25 22:24:23 +01:00
pipeline:
2021-12-27 15:48:51 +01:00
download:
2021-12-27 15:46:54 +01:00
image: alpine
commands:
2022-01-15 01:29:16 +01:00
- apk add curl tar
- curl -L "https://github.com/pixelfed/pixelfed/archive/refs/tags/${VERSION}.tar.gz" | tar xvz --strip 1
2022-01-16 12:23:37 +01:00
when:
branch: main
event:
- push
2021-12-25 22:24:23 +01:00
docker:
image: plugins/docker
secrets:
- DOCKER_USERNAME
- DOCKER_PASSWORD
2021-12-27 15:46:54 +01:00
settings:
repo: spcodes/pixelfed
2022-01-15 01:32:46 +01:00
context: .
2022-01-15 01:29:16 +01:00
dockerfile: contrib/docker/Dockerfile.apache
2021-12-27 15:46:54 +01:00
tags:
2022-01-15 01:29:16 +01:00
- ${VERSION}
2021-12-27 15:46:54 +01:00
- latest
2022-01-16 12:23:37 +01:00
when:
branch: main
event:
- push
2021-12-25 22:24:23 +01:00
cr:
image: plugins/docker
secrets:
- source: CR_USERNAME
target: DOCKER_USERNAME
- source: CR_PASSWORD
target: DOCKER_PASSWORD
2021-12-27 15:46:54 +01:00
settings:
registry: cr.sp-codes.de
repo: cr.sp-codes.de/pixelfed
2022-01-15 01:32:46 +01:00
context: .
2022-01-15 01:29:16 +01:00
dockerfile: contrib/docker/Dockerfile.apache
2021-12-27 15:46:54 +01:00
tags:
2022-01-15 01:29:16 +01:00
- ${VERSION}
2021-12-27 15:46:54 +01:00
- latest
2022-01-16 12:23:37 +01:00
when:
branch: main
event:
- push
2022-01-15 01:29:16 +01:00
matrix:
VERSION:
- v0.11.2