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