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