mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 13:13:00 -05:00
Update '.woodpecker.yml'
This commit is contained in:
parent
e2fb14b008
commit
4411036c9a
1 changed files with 19 additions and 5 deletions
|
@ -1,18 +1,32 @@
|
||||||
when:
|
when:
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- &file Dockerfile
|
||||||
|
- &repo codeberg.org/${CI_REPO_OWNER}/safetwitch-backend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
dryrun:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: *file
|
||||||
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||||
|
dry_run: true
|
||||||
|
repo: *repo
|
||||||
|
tags: latest
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
|
dockerfile: *file
|
||||||
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||||
repo: codeberg.org/${CI_REPO_OWNER}/safetwitch-backend
|
repo: *repo
|
||||||
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:
|
when:
|
||||||
event: push
|
event: push
|
||||||
path: *file
|
|
||||||
|
|
Loading…
Reference in a new issue