From 22d35084bbc7579a14c06c0a51004836feef6882 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Mon, 5 Feb 2024 01:39:24 +0100 Subject: [PATCH] new build system --- .drone.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index be0c814..bd1be13 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,26 +2,34 @@ kind: pipeline name: deploy steps: - name: docker - image: plugins/docker + image: thegeeklab/drone-docker-buildx settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: aaronriedel/php-apache-mysql + from_secret: REGISTRY_PASS + repo: git.ar21.de/aaron/php-apache-mysql tags: latest + platforms: + - linux/arm64 + - linux/amd64 when: branch: - main - name: docker-build - image: plugins/docker + image: thegeeklab/drone-docker-buildx settings: + registry: git.ar21.de username: - from_secret: DOCKER_USERNAME + from_secret: REGISTRY_USER password: - from_secret: DOCKER_PASSWORD - repo: aaronriedel/php-apache-mysql + from_secret: REGISTRY_PASS + repo: git.ar21.de/aaron/php-apache-mysql tags: latest + platforms: + - linux/arm64 + - linux/amd64 dry_run: true when: branch: