From e3aa2870505a2751beb0ab9fb1f720460541f856 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Tue, 4 Jul 2023 21:29:12 +0000 Subject: [PATCH] Update '.woodpecker.yml' --- .woodpecker.yml | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 24f89e5..30ba1c7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,25 +1,16 @@ pipeline: - dryrun: - image: woodpeckerci/plugin-docker-buildx - settings: - dockerfile: Dockerfile - platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le - dry_run: true - repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend - tags: edge - when: - event: pull_request - + build: + image: golang:1.17 + commands: + - go get + - go build publish: image: woodpeckerci/plugin-docker-buildx settings: - dockerfile: Dockerfile - platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le - repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend + platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x + repo: codeberg.org/${CI_REPO_OWNER}/hello registry: codeberg.org - tags: edge + tags: latest username: ${CI_REPO_OWNER} password: - from_secret: docker_password - when: - event: push \ No newline at end of file + from_secret: docker_password \ No newline at end of file