2022-07-20 15:12:41 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-01-14 14:25:27 +00:00
|
|
|
name: build-container
|
2022-07-20 15:12:41 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: dryrun
|
2023-02-09 07:54:26 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2022-07-20 15:12:41 +00:00
|
|
|
settings:
|
2023-01-14 14:25:27 +00:00
|
|
|
dockerfile: Dockerfile.multiarch
|
2022-07-20 15:12:41 +00:00
|
|
|
dry_run: true
|
2023-01-14 14:25:27 +00:00
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
- linux/arm/v7
|
|
|
|
- linux/arm/v6
|
|
|
|
provenance: false
|
2022-07-20 15:12:41 +00:00
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/pull/**
|
|
|
|
|
|
|
|
- name: publish-dockerhub
|
2023-02-09 07:54:26 +00:00
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
2022-07-20 15:12:41 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2023-01-14 14:25:27 +00:00
|
|
|
dockerfile: Dockerfile.multiarch
|
2022-07-20 15:12:41 +00:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2023-01-14 14:25:27 +00:00
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
- linux/arm/v7
|
|
|
|
- linux/arm/v6
|
|
|
|
provenance: false
|
2022-07-20 15:12:41 +00:00
|
|
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
depends_on:
|
|
|
|
- dryrun
|
|
|
|
|
|
|
|
- name: publish-quay
|
2023-08-11 07:41:02 +00:00
|
|
|
image: docker.io/xoxys/drone-docker-buildx:debug
|
2023-08-11 07:43:52 +00:00
|
|
|
pull: always
|
2022-07-20 15:12:41 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2023-08-11 07:43:52 +00:00
|
|
|
dockerfile:
|
|
|
|
from_secret: debug_string
|
2023-08-11 07:41:02 +00:00
|
|
|
log_level: debug
|
2023-01-14 14:25:27 +00:00
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
- linux/arm/v7
|
|
|
|
- linux/arm/v6
|
|
|
|
provenance: false
|
2023-08-10 19:35:57 +00:00
|
|
|
registries:
|
|
|
|
- password:
|
2023-08-11 07:41:02 +00:00
|
|
|
from_secret: debug_string
|
2023-08-10 19:35:57 +00:00
|
|
|
registry: quay.io
|
|
|
|
username:
|
2023-08-11 07:41:02 +00:00
|
|
|
from_secret: debug_string
|
2022-07-20 15:12:41 +00:00
|
|
|
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
depends_on:
|
|
|
|
- dryrun
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- refs/tags/**
|
|
|
|
- refs/pull/**
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
2023-08-11 07:41:02 +00:00
|
|
|
hmac: a8f116a356de9144e9610f3ad2bb66c679d56151ef9b71b91d9bf343c2ff04ef
|
2022-07-20 15:12:41 +00:00
|
|
|
|
|
|
|
...
|