From f8b5de407301f4c11a1f70569c7a55ca1ce9f8e0 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Mon, 8 Jan 2024 17:03:40 +0000 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 57 +++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index fd71639..8cffb6f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,34 +1,31 @@ --- platform: linux/arm64 -kind: pipeline -name: website build +pipeline: + docker: + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/amd64 + registry: git.freifunk-rhein-sieg.net + repo: git.freifunk-rhein-sieg.net/freifunk-rhein-sieg/freifunk-rhein-sieg.net + username: + from_secret: gitea_user + password: + from_secret: gitea_token + tags: latest + when: + - branch: master -steps: -- name: docker - image: woodpeckerci/plugin-docker-buildx - settings: - platforms: linux/amd64 - registry: git.freifunk-rhein-sieg.net - repo: git.freifunk-rhein-sieg.net/freifunk-rhein-sieg/freifunk-rhein-sieg.net - username: - from_secret: gitea_user - password: - from_secret: gitea_token - tags: latest - when: - - branch: master - -- name: docker-devel - image: woodpeckerci/plugin-docker-buildx - settings: - platforms: linux/amd64 - registry: git.freifunk-rhein-sieg.net - repo: git.freifunk-rhein-sieg.net/freifunk-rhein-sieg/freifunk-rhein-sieg.net - username: - from_secret: gitea_user - password: - from_secret: gitea_token - tags: devel - when: - - branch: devel + docker-devel: + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/amd64 + registry: git.freifunk-rhein-sieg.net + repo: git.freifunk-rhein-sieg.net/freifunk-rhein-sieg/freifunk-rhein-sieg.net + username: + from_secret: gitea_user + password: + from_secret: gitea_token + tags: devel + when: + - branch: devel