mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 05:02:58 -05:00
Update '.woodpecker.yml'
This commit is contained in:
parent
a9fe4f315a
commit
e3aa287050
1 changed files with 9 additions and 18 deletions
|
@ -1,25 +1,16 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
dryrun:
|
build:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: golang:1.17
|
||||||
settings:
|
commands:
|
||||||
dockerfile: Dockerfile
|
- go get
|
||||||
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
- go build
|
||||||
dry_run: true
|
|
||||||
repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend
|
|
||||||
tags: edge
|
|
||||||
when:
|
|
||||||
event: pull_request
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm64/v8,linux/ppc64le,linux/riscv64,linux/s390x
|
||||||
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
repo: codeberg.org/${CI_REPO_OWNER}/hello
|
||||||
repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend
|
|
||||||
registry: codeberg.org
|
registry: codeberg.org
|
||||||
tags: edge
|
tags: latest
|
||||||
username: ${CI_REPO_OWNER}
|
username: ${CI_REPO_OWNER}
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
when:
|
|
||||||
event: push
|
|
Loading…
Reference in a new issue