galerie-site/.drone.yml
Julius 4a05646533
All checks were successful
continuous-integration/drone/push Build is passing
Output hash in logs
2021-11-14 16:30:58 +01:00

31 lines
560 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 | tee 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}