Refactor Drone CI configuration for Docker image handling and secret management
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
gyurix
2025-04-28 07:54:11 +02:00
parent f7c6ce03ea
commit 6bc1120a64

View File

@@ -14,6 +14,25 @@ workspace:
path: /drone/src
steps:
- name: pull image to dockerhub
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "safebox/framework-scheduler" ]
repo: safebox/framework-scheduler
tags: latest
username:
from_secret: dockerhub-username
password:
from_secret: dockerhub-password
platforms:
- linux/amd64
- linux/arm64
when:
event:
- tag
- name: build multiarch from dev
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
@@ -34,22 +53,4 @@ steps:
- linux/arm64
when:
event:
- push
- name: pull image to dockerhub
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "safebox/framework-scheduler" ]
repo: safebox/framework-scheduler
tags: latest
username:
from_secret: dockerhub-username
password:
from_secret: dockerhub-password
platforms:
- linux/amd64
- linux/arm64
when:
event:
- tag
- push