From 9efe167d9b5554fdbfe42282eb1b3382bea8a362 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Tue, 4 Jul 2023 21:20:37 +0000 Subject: [PATCH] Update '.woodpecker.yml' --- .woodpecker.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index e1f2c68..66d5a9a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,18 +1,11 @@ -when: - branch: main - -variables: - - &file Dockerfile - - &repo codeberg.org/${CI_REPO_OWNER}/safetwitch-backend - -steps: +pipeline: dryrun: image: woodpeckerci/plugin-docker-buildx settings: - dockerfile: *file + dockerfile: Dockerfile platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le dry_run: true - repo: *repo + repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend tags: latest when: event: pull_request @@ -20,9 +13,9 @@ steps: publish: image: woodpeckerci/plugin-docker-buildx settings: - dockerfile: *file + dockerfile: Dockerfile platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le - repo: *repo + repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend registry: codeberg.org tags: latest username: ${CI_REPO_OWNER}