tickets/.drone.yml

26 lines
444 B
YAML
Raw Normal View History

2022-06-11 23:44:44 +02:00
---
kind: pipeline
type: kubernetes
name: Build Docker image
trigger:
branch:
- main
event:
exclude:
- pull_request
steps:
- name: kaniko
image: plugins/kaniko
settings:
2022-06-12 00:31:55 +02:00
enable_cache: true
2022-06-11 23:44:44 +02:00
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASSWORD
registry: https://registry.asraphiel.dev/
repo: registry.asraphiel.dev/library/tickets
tags: ${DRONE_COMMIT_BRANCH}