2023-02-14 11:58:22 +01:00
|
|
|
kind: pipeline
|
2024-05-29 21:48:44 +02:00
|
|
|
type: kubernetes
|
2023-02-14 11:58:22 +01:00
|
|
|
name: deploy
|
|
|
|
steps:
|
2023-09-24 04:23:18 +02:00
|
|
|
- name: docker
|
2024-05-24 09:50:12 +02:00
|
|
|
image: thegeeklab/drone-docker-buildx
|
|
|
|
privileged: true
|
2023-02-14 11:58:22 +01:00
|
|
|
settings:
|
2024-05-24 09:50:12 +02:00
|
|
|
registry: git.ar21.de
|
2023-02-14 11:58:22 +01:00
|
|
|
username:
|
2024-05-24 09:50:12 +02:00
|
|
|
from_secret: REGISTRY_USER
|
2023-02-14 11:58:22 +01:00
|
|
|
password:
|
2024-05-24 09:50:12 +02:00
|
|
|
from_secret: REGISTRY_PASS
|
|
|
|
repo: git.ar21.de/aaron/kustomize-ci
|
2023-02-14 11:58:22 +01:00
|
|
|
tags: latest
|
2024-05-24 09:50:12 +02:00
|
|
|
platforms:
|
|
|
|
- linux/arm64
|
|
|
|
- linux/amd64
|
2023-02-14 11:58:22 +01:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
- name: docker-build
|
2024-05-24 09:50:12 +02:00
|
|
|
image: thegeeklab/drone-docker-buildx
|
|
|
|
privileged: true
|
2023-02-14 11:58:22 +01:00
|
|
|
settings:
|
2024-05-24 09:50:12 +02:00
|
|
|
registry: git.ar21.de
|
2023-02-14 11:58:22 +01:00
|
|
|
username:
|
2024-05-24 09:50:12 +02:00
|
|
|
from_secret: REGISTRY_USER
|
2023-02-14 11:58:22 +01:00
|
|
|
password:
|
2024-05-24 09:50:12 +02:00
|
|
|
from_secret: REGISTRY_PASS
|
|
|
|
repo: git.ar21.de/aaron/kustomize-ci
|
2023-02-14 11:58:22 +01:00
|
|
|
tags: latest
|
2024-05-24 09:50:12 +02:00
|
|
|
platforms:
|
|
|
|
- linux/arm64
|
|
|
|
- linux/amd64
|
2023-02-14 11:58:22 +01:00
|
|
|
dry_run: true
|
|
|
|
when:
|
2024-05-24 09:50:12 +02:00
|
|
|
branch:
|
|
|
|
exclude:
|
2023-02-14 11:58:22 +01:00
|
|
|
- main
|
2023-09-24 04:23:18 +02:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
include:
|
|
|
|
- push
|