Files
docker-icons/.crow/docker-build-and-push.yml.old

28 lines
672 B
YAML

when:
- event: push
branch: main
path:
exclude: ['README.md']
- event: manual
labels:
platform: linux/amd64
steps:
- name: build-and-push
image: woodpeckerci/plugin-docker-buildx
settings:
repo: ryuupendragon/icons,ghcr.io/ryuupendragon/icons
dockerfile: Dockerfile
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
tag: 2.2.0,latest
logins:
- registry: https://index.docker.io/v1/
username: ryuupendragon
password:
from_secret: DOCKERHUB_TOKEN
- registry: https://ghcr.io
username: ryuupendragon
password:
from_secret: GH_TOKEN