This commit is contained in:
parent
ec6b8c1fdf
commit
e6ff987ea3
24
.drone.yml
24
.drone.yml
@ -28,17 +28,15 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: dryrun
|
- name: dryrun
|
||||||
image: plugins/docker:19
|
image: jdrouet/docker-with-buildx:stable
|
||||||
settings:
|
commands:
|
||||||
dockerfile: Dockerfile
|
- docker buildx ls
|
||||||
dry_run: true
|
- docker buildx create --use
|
||||||
password:
|
- docker buildx ls
|
||||||
from_secret: docker_password
|
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag thegeeklab/${DRONE_REPO_NAME}:latest .
|
||||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_DRIVER: overlay2
|
||||||
|
DOCKER_HOST: tcp://dind:2375/
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
@ -106,6 +104,10 @@ steps:
|
|||||||
- publish-dockerhub
|
- publish-dockerhub
|
||||||
- publish-quay
|
- publish-quay
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: dind
|
||||||
|
image: docker:dind
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/main
|
- refs/heads/main
|
||||||
@ -181,6 +183,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 14eb650adf452610ccb668009fadc51bbd44f9cede6a037ae2c4430c72458b5e
|
hmac: dddb86bc5f442e55752da00c78dd314ac7311513aa299caff92af7735730f4df
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user