nextcloud-fpm/.drone.yml

49 lines
955 B
YAML
Raw Normal View History

2022-07-04 11:19:25 +02:00
kind: pipeline
2024-05-29 21:40:57 +02:00
type: kubernetes
2022-07-04 11:19:25 +02:00
name: deploy
steps:
2024-07-22 15:15:30 +02:00
- name: patch
image: git.ar21.de/aaron/kustomize-ci
commands:
- "sh patch-nextcloud.sh"
2023-09-24 04:11:02 +02:00
- name: docker
2024-03-25 10:09:30 +01:00
image: thegeeklab/drone-docker-buildx
privileged: true
2022-07-04 11:19:25 +02:00
settings:
2024-03-25 10:09:30 +01:00
registry: git.ar21.de
2022-07-04 11:19:25 +02:00
username:
2024-03-25 10:09:30 +01:00
from_secret: REGISTRY_USER
2022-07-04 11:19:25 +02:00
password:
2024-03-25 10:09:30 +01:00
from_secret: REGISTRY_PASS
2024-07-22 15:15:30 +02:00
repo: git.ar21.de/aaron/nextcloud-fpm-test
2022-07-04 11:19:25 +02:00
tags: latest
2024-03-25 10:09:30 +01:00
platforms:
- linux/arm64
- linux/amd64
2022-07-04 11:19:25 +02:00
when:
branch:
- main
- name: docker-build
2024-03-25 10:09:30 +01:00
image: thegeeklab/drone-docker-buildx
privileged: true
2022-07-04 11:19:25 +02:00
settings:
2024-03-25 10:09:30 +01:00
registry: git.ar21.de
2022-07-04 11:19:25 +02:00
username:
2024-03-25 10:09:30 +01:00
from_secret: REGISTRY_USER
2022-07-04 11:19:25 +02:00
password:
2024-03-25 10:09:30 +01:00
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/nextcloud-fpm
2022-07-04 11:19:25 +02:00
tags: latest
2024-03-25 10:09:30 +01:00
platforms:
- linux/arm64
- linux/amd64
2022-07-04 11:19:25 +02:00
dry_run: true
when:
2023-09-24 04:11:02 +02:00
branch:
exclude:
2022-07-21 17:34:00 +02:00
- main
2023-09-24 04:11:02 +02:00
when:
event:
include:
2024-07-22 15:15:30 +02:00
- push
- custom