forgejo-release-proxy/.woodpecker/deploy-docker.yml
2024-08-03 16:29:19 +02:00

35 lines
851 B
YAML

when:
- event: [pull_request, tag]
steps:
docker-deploy-pr:
when:
- event: pull_request
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: adoralaura/forgejo-release-proxy
registry: https://index.docker.io/v1/
tag: pr-${CI_COMMIT_PULL_REQUEST}
username: adoralaura
password:
from_secret: dockerhub_token
docker-deploy-tag:
when:
event: tag
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: adoralaura/forgejo-release-proxy
registry: https://index.docker.io/v1/
auto_tag: true
username: adoralaura
password:
from_secret: dockerhub_token