From 22eded5d782f768db42c8e7f1565218ea7f5207b Mon Sep 17 00:00:00 2001 From: samuel-p Date: Mon, 27 Dec 2021 15:46:54 +0100 Subject: [PATCH] initial commit --- .woodpecker.yml | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0701e4d..272c94f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,15 +1,22 @@ pipeline: + clone: + image: alpine + commands: + - apk add git + - git clone https://github.com/pixelfed/pixelfed.git docker: image: plugins/docker secrets: - DOCKER_USERNAME - DOCKER_PASSWORD - repo: spcodes/pixelfed - tags: - - latest + settings: + repo: spcodes/pixelfed + context: pixelfed + dockerfile: pixelfed/contrib/docker/Dockerfile.apache + tags: + - latest when: - branch: - - main + branch: main event: - push cr: @@ -19,12 +26,14 @@ pipeline: target: DOCKER_USERNAME - source: CR_PASSWORD target: DOCKER_PASSWORD - registry: cr.sp-codes.de - repo: cr.sp-codes.de/pixelfed - tags: - - latest + settings: + registry: cr.sp-codes.de + repo: cr.sp-codes.de/pixelfed + context: pixelfed + dockerfile: pixelfed/contrib/docker/Dockerfile.apache + tags: + - latest when: - branch: - - main + branch: main event: - push