kind: pipeline type: kubernetes name: deploy steps: - name: patch image: debian entrypoint: - /drone/src/patch-nextcloud.sh - name: docker image: thegeeklab/drone-docker-buildx privileged: true settings: registry: git.ar21.de username: from_secret: REGISTRY_USER password: from_secret: REGISTRY_PASS repo: git.ar21.de/aaron/nextcloud-fpm-test tags: latest platforms: - linux/arm64 - linux/amd64 when: branch: - main - name: docker-build image: thegeeklab/drone-docker-buildx privileged: true settings: registry: git.ar21.de username: from_secret: REGISTRY_USER password: from_secret: REGISTRY_PASS repo: git.ar21.de/aaron/nextcloud-fpm tags: latest platforms: - linux/arm64 - linux/amd64 dry_run: true when: branch: exclude: - main when: event: include: - push - custom