0
0
mirror of https://github.com/thegeeklab/drone-admin.git synced 2024-06-02 17:39:39 +02:00
drone-admin/.drone.yml

88 lines
1.7 KiB
YAML
Raw Normal View History

2022-07-20 17:12:41 +02:00
---
kind: pipeline
name: build-container
2022-07-20 17:12:41 +02:00
platform:
os: linux
arch: amd64
steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:23
2022-07-20 17:12:41 +02:00
settings:
dockerfile: Dockerfile.multiarch
2022-07-20 17:12:41 +02:00
dry_run: true
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
provenance: false
2022-07-20 17:12:41 +02:00
repo: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/pull/**
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:23
2022-07-20 17:12:41 +02:00
settings:
auto_tag: true
dockerfile: Dockerfile.multiarch
2022-07-20 17:12:41 +02:00
password:
from_secret: docker_password
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
provenance: false
2022-07-20 17:12:41 +02: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 09:43:52 +02:00
pull: always
2023-08-11 09:44:24 +02:00
image: docker.io/xoxys/drone-docker-buildx:debug
2022-07-20 17:12:41 +02:00
settings:
auto_tag: true
2023-08-11 09:43:52 +02:00
dockerfile:
from_secret: debug_string
2023-08-11 09:41:02 +02:00
log_level: debug
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
provenance: false
2023-08-10 21:35:57 +02:00
registries:
- password:
2023-08-11 09:41:02 +02:00
from_secret: debug_string
2023-08-10 21:35:57 +02:00
registry: quay.io
username:
2023-08-11 09:41:02 +02:00
from_secret: debug_string
2022-07-20 17:12:41 +02: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 09:44:24 +02:00
hmac: 51143668f10f8403862a46301a3a256c39795f98b0fc10e15aa719325a0fa28f
2022-07-20 17:12:41 +02:00
...