Add drone yaml
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Tobias Manske 2022-06-07 21:52:42 +02:00
parent 7aff7c7bb9
commit 69b5374fd9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 202689A59D645C1C

31
.drone.yml Normal file
View File

@ -0,0 +1,31 @@
kind: pipeline
name: default
trigger:
branch:
- master
event:
include:
- push
- custom
steps:
- name: Build Image
image: plugins/docker
settings:
repo: registry.tobiasmanske.de/docker-avif-webp
force_tag: true
registry: registry.tobiasmanske.de
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- ${DRONE_BRANCH}
cache_from:
- "registry.tobiasmanske.de/docker-avif-webp:master"
- "registry.tobiasmanske.de/docker-avif-webp:${DRONE_BRANCH}"
# image_pull_secrets:
# - registry