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
4411036c9a
commit
9efe167d9b
1 changed files with 5 additions and 12 deletions
|
@ -1,18 +1,11 @@
|
|||
when:
|
||||
branch: main
|
||||
|
||||
variables:
|
||||
- &file Dockerfile
|
||||
- &repo codeberg.org/${CI_REPO_OWNER}/safetwitch-backend
|
||||
|
||||
steps:
|
||||
pipeline:
|
||||
dryrun:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend
|
||||
tags: latest
|
||||
when:
|
||||
event: pull_request
|
||||
|
@ -20,9 +13,9 @@ steps:
|
|||
publish:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dockerfile: *file
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||
repo: *repo
|
||||
repo: https://codeberg.com/${CI_REPO_OWNER}/safetwitch-backend
|
||||
registry: codeberg.org
|
||||
tags: latest
|
||||
username: ${CI_REPO_OWNER}
|
||||
|
|
Loading…
Reference in a new issue