initial commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-15 19:31:12 -05:00
commit 9bb2964032
10 changed files with 115 additions and 0 deletions

44
.drone.yml Normal file
View File

@@ -0,0 +1,44 @@
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