changed build to dockerhub at first
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
32
.drone.yml
32
.drone.yml
@@ -14,6 +14,22 @@ workspace:
|
|||||||
path: /drone/src
|
path: /drone/src
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: pull image to dockerhub
|
||||||
|
image: docker.io/owncloudci/drone-docker-buildx:4
|
||||||
|
privileged: true
|
||||||
|
settings:
|
||||||
|
cache-from: [ "safebox/haproxy" ]
|
||||||
|
repo: safebox/haproxy
|
||||||
|
tags: latest
|
||||||
|
username:
|
||||||
|
from_secret: dockerhub-username
|
||||||
|
password:
|
||||||
|
from_secret: dockerhub-password
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
|
||||||
- name: build multiarch from dev
|
- name: build multiarch from dev
|
||||||
image: docker.io/owncloudci/drone-docker-buildx:4
|
image: docker.io/owncloudci/drone-docker-buildx:4
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -30,18 +46,4 @@ steps:
|
|||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
|
|
||||||
- name: pull image to dockerhub
|
|
||||||
image: docker.io/owncloudci/drone-docker-buildx:4
|
|
||||||
privileged: true
|
|
||||||
settings:
|
|
||||||
cache-from: [ "safebox/haproxy" ]
|
|
||||||
repo: safebox/haproxy
|
|
||||||
tags: latest
|
|
||||||
username:
|
|
||||||
from_secret: dockerhub-username
|
|
||||||
password:
|
|
||||||
from_secret: dockerhub-password
|
|
||||||
platforms:
|
|
||||||
- linux/amd64
|
|
||||||
- linux/arm64
|
|
||||||
|
Reference in New Issue
Block a user