updated woodpecker
This commit is contained in:
parent
4044208105
commit
74d0751dab
2 changed files with 24 additions and 10 deletions
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Reference in a new issue