galerie-site/.drone.yml
Julius 73f822ce46
All checks were successful
continuous-integration/drone/push Build is passing
Fix drone config
2021-11-14 16:20:59 +01:00

31 lines
556 B
YAML

---
kind: pipeline
type: kubernetes
name: Build Docker image
trigger:
branch:
- main
- staging
event:
exclude:
- pull_request
steps:
- name: commit hash magic
image: bitnami/git:2.33.0
commands:
- git show -s --format=%H > hash
- name: kaniko
image: plugins/kaniko
settings:
enable-cache: true
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASSWORD
registry: https://registry.voidcorp.nl/
repo: registry.voidcorp.nl/library/galerie
tags: ${DRONE_COMMIT_BRANCH}