updated woodpecker
All checks were successful
ci/woodpecker/push/dev Pipeline was successful
ci/woodpecker/push/release Pipeline was successful

This commit is contained in:
Samuel Philipp 2022-01-16 12:23:37 +01:00
parent 4044208105
commit 74d0751dab
2 changed files with 24 additions and 10 deletions

View file

@ -6,6 +6,10 @@ pipeline:
- git clone https://github.com/pixelfed/pixelfed.git - git clone https://github.com/pixelfed/pixelfed.git
- cd pixelfed - cd pixelfed
- git checkout ${BRANCH} - git checkout ${BRANCH}
when:
branch: main
event:
- push
docker: docker:
image: plugins/docker image: plugins/docker
secrets: secrets:
@ -17,6 +21,10 @@ pipeline:
dockerfile: pixelfed/contrib/docker/Dockerfile.apache dockerfile: pixelfed/contrib/docker/Dockerfile.apache
tags: tags:
- ${BRANCH} - ${BRANCH}
when:
branch: main
event:
- push
cr: cr:
image: plugins/docker image: plugins/docker
secrets: secrets:
@ -31,11 +39,10 @@ pipeline:
dockerfile: pixelfed/contrib/docker/Dockerfile.apache dockerfile: pixelfed/contrib/docker/Dockerfile.apache
tags: tags:
- ${BRANCH} - ${BRANCH}
when:
when: branch: main
branch: main event:
event: - push
- push
matrix: matrix:
BRANCH: BRANCH:

View file

@ -4,6 +4,10 @@ pipeline:
commands: commands:
- apk add curl tar - apk add curl tar
- curl -L "https://github.com/pixelfed/pixelfed/archive/refs/tags/${VERSION}.tar.gz" | tar xvz --strip 1 - curl -L "https://github.com/pixelfed/pixelfed/archive/refs/tags/${VERSION}.tar.gz" | tar xvz --strip 1
when:
branch: main
event:
- push
docker: docker:
image: plugins/docker image: plugins/docker
secrets: secrets:
@ -16,6 +20,10 @@ pipeline:
tags: tags:
- ${VERSION} - ${VERSION}
- latest - latest
when:
branch: main
event:
- push
cr: cr:
image: plugins/docker image: plugins/docker
secrets: secrets:
@ -31,11 +39,10 @@ pipeline:
tags: tags:
- ${VERSION} - ${VERSION}
- latest - latest
when:
when: branch: main
branch: main event:
event: - push
- push
matrix: matrix:
VERSION: VERSION: