0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 05:02:58 -05:00
safetwitch-backend/.woodpecker.yml

32 lines
723 B
YAML
Raw Normal View History

2023-07-04 16:06:19 -05:00
when:
branch: main
2023-07-04 16:12:16 -05:00
variables:
- &file Dockerfile
- &repo codeberg.org/${CI_REPO_OWNER}/safetwitch-backend
2023-07-04 16:06:19 -05:00
steps:
2023-07-04 16:12:16 -05:00
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
2023-06-07 16:31:46 -05:00
publish:
2023-07-04 16:04:24 -05:00
image: woodpeckerci/plugin-docker-buildx
settings:
2023-07-04 16:12:16 -05:00
dockerfile: *file
2023-07-04 16:04:24 -05:00
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
2023-07-04 16:12:16 -05:00
repo: *repo
2023-07-04 16:04:24 -05:00
registry: codeberg.org
2023-07-04 16:12:16 -05:00
tags: latest
2023-07-04 16:04:24 -05:00
username: ${CI_REPO_OWNER}
password:
from_secret: docker_password
2023-06-07 16:45:17 -05:00
when:
2023-07-04 16:12:16 -05:00
event: push