From 782f2fa7bb689522b5da444856870af7bd6cdc53 Mon Sep 17 00:00:00 2001 From: Gyorgy Berenyi Date: Sat, 22 Mar 2025 11:26:38 +0000 Subject: [PATCH 1/2] Update .drone.yml --- .drone.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 65b9f7f..54ccd02 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,8 @@ trigger: - main event: - push + - tag + workspace: path: /drone/src @@ -30,6 +32,8 @@ steps: platforms: - linux/amd64 - linux/arm64 + event: + - push - name: pull image to dockerhub image: docker.io/owncloudci/drone-docker-buildx:4 @@ -44,4 +48,6 @@ steps: from_secret: dockerhub-password platforms: - linux/amd64 - - linux/arm64 \ No newline at end of file + - linux/arm64 + event: + - tag \ No newline at end of file From e39a7494b323f7919a0e106dea9092dba7276791 Mon Sep 17 00:00:00 2001 From: Gyorgy Berenyi Date: Sat, 22 Mar 2025 11:28:33 +0000 Subject: [PATCH 2/2] Update .drone.yml --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 54ccd02..0be7547 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,8 +32,9 @@ steps: platforms: - linux/amd64 - linux/arm64 - event: - - push + when: + event: + - push - name: pull image to dockerhub image: docker.io/owncloudci/drone-docker-buildx:4 @@ -49,5 +50,6 @@ steps: platforms: - linux/amd64 - linux/arm64 - event: - - tag \ No newline at end of file + when: + event: + - tag \ No newline at end of file