0
0
mirror of https://github.com/thegeeklab/drone-admin.git synced 2024-11-15 04:00:40 +00:00
drone-admin/.drone.yml

88 lines
1.7 KiB
YAML
Raw Normal View History

2022-07-20 15:12:41 +00:00
---
kind: pipeline
name: build-container
2022-07-20 15:12:41 +00:00
platform:
os: linux
arch: amd64
steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:23
2022-07-20 15:12:41 +00:00
settings:
dockerfile: Dockerfile.multiarch
2022-07-20 15:12:41 +00:00
dry_run: true
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
image: thegeeklab/drone-docker-buildx:23
2022-07-20 15:12:41 +00:00
settings:
auto_tag: true
dockerfile: Dockerfile.multiarch
2022-07-20 15:12:41 +00:00
password:
from_secret: docker_password
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:43:52 +00:00
pull: always
2023-08-11 07:44:24 +00:00
image: docker.io/xoxys/drone-docker-buildx:debug
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
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:44:24 +00:00
hmac: 51143668f10f8403862a46301a3a256c39795f98b0fc10e15aa719325a0fa28f
2022-07-20 15:12:41 +00:00
...