Add '.drone.yml'

This commit is contained in:
MrMeeb 2022-12-25 18:50:54 +00:00
parent 3daee369ca
commit 90f5095eef

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
kind: pipeline
type: docker
name: build-multiarch-images
platform:
os: linux
arch: amd64
steps:
- name: make-tags
image: node
commands:
- echo -n "${DRONE_COMMIT_SHA:0:10}, latest" > .tags
- name: build
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
registry: git.mrmeeb.stream
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: git.mrmeeb.stream/mrmeeb/certbot-cron
platforms:
- linux/arm64
- linux/amd64
trigger:
branch:
- main
event:
exclude:
- pull_request