Jack Jackson dcf0977625 Specify platform
Ideally I guess I would use https://github.com/thegeeklab/drone-docker-buildx
or something similar to build for multiple platforms.
2023-07-17 19:45:07 -07:00

25 lines
674 B
YAML

kind: pipeline
name: auto-repo-update-drone-plugin
type: docker
platform:
os: linux
arch: arm64
steps:
- name: push-built-image
image: plugins/docker
settings:
registry: gitea.scubbo.org
repo: gitea.scubbo.org/scubbo/auto-repo-update-drone-plugin
tags: latest
username: scubbo
platform: linux/arm64
password:
from_secret: gitea_password
# TODO - it would be nice to push to DockerHub here, too;
# but my DockerHub account has 2FA enabled, and `plugins/docker`
# does not seem to support Personal Access Tokens. If someone
# asks for it, I'll figure it out (and add some tests) - but, 'til
# then, YAGNI.