2022-12-03 14:20:30 -08:00

22 lines
523 B
YAML

---
kind: pipeline
type: kubernetes
name: build-{{ .input.os }}-{{ .input.arch }}
trigger:
event: [ push ]
branch: [ master ]
steps:
- name: build
image: plugins/docker
settings:
registry: https://gitea.internal.example.com
username: drone
password:
from_secret: gitea-internal-password
repo: gitea.internal.example.com/{{ .input.repo }}-{{ .input.os }}-{{ .input.arch }}
cache_from: gitea.internal.example.com/{{ .input.repo }}-{{ .input.os }}-{{ .input.arch }}:ci
tags:
- "ci"