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:
|
||||
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
|
Loading…
Reference in a new issue