misskey-szuru-bot/.drone.yml
shibao 9bb2964032
All checks were successful
continuous-integration/drone/push Build is passing
initial commit
2022-12-15 21:28:49 -05:00

45 lines
884 B
YAML

kind: pipeline
type: docker
name: misskey-szuru-bot
steps:
- name: build and publish stable
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
repo: shibaobun/misskey-szuru-bot
purge: true
compress: true
platforms: linux/amd64,linux/arm/v7
username:
from_secret: docker_username
password:
from_secret: docker_password
tags: latest
when:
branch:
- stable
- name: build and publish tagged version
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
repo: shibaobun/misskey-szuru-bot
purge: true
compress: true
platforms: linux/amd64,linux/arm/v7
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_TAG}
when:
event:
- tag
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock