galerie-site/.drone.yml
Julius 8a489ca534
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
Change drone config
2022-05-24 09:16:03 +02:00

31 lines
564 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.asraphiel.dev/
repo: registry.asraphiel.dev/library/galerie
tags: ${DRONE_COMMIT_BRANCH}