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