misskey-szuru-bot/.drone.yml

45 lines
884 B
YAML
Raw Normal View History

2022-12-15 19:31:12 -05:00
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