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
Samuel Philipp ccba123dd6
All checks were successful
ci/woodpecker/push/dev Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
updated release updates
2022-01-15 03:48:54 +01:00

48 lines
996 B
YAML

pipeline:
download:
image: alpine
commands:
- apk add curl tar
- curl -L "https://github.com/pixelfed/pixelfed/archive/refs/tags/${VERSION}.tar.gz" | tar xvz --strip 1
docker:
image: plugins/docker
secrets:
- DOCKER_USERNAME
- DOCKER_PASSWORD
settings:
repo: spcodes/pixelfed
context: .
dockerfile: contrib/docker/Dockerfile.apache
tags:
- ${VERSION}
- release
- latest
when:
branch: main
event:
- push
cr:
image: plugins/docker
secrets:
- source: CR_USERNAME
target: DOCKER_USERNAME
- source: CR_PASSWORD
target: DOCKER_PASSWORD
settings:
registry: cr.sp-codes.de
repo: cr.sp-codes.de/pixelfed
context: .
dockerfile: contrib/docker/Dockerfile.apache
tags:
- ${VERSION}
- release
- latest
when:
branch: main
event:
- push
matrix:
VERSION:
- v0.11.1