Updated Drone pipeline
This commit is contained in:
parent
5cb33d6b87
commit
54fe3e81d5
1 changed files with 23 additions and 16 deletions
39
.drone.yml
39
.drone.yml
|
@ -15,17 +15,19 @@ steps:
|
|||
auto_tag_suffix: linux-arm
|
||||
mirror: https://registry.cuzo.dev
|
||||
username:
|
||||
from_secret: DOCKER_REGISTRY_USER
|
||||
from_secret: docker_hub_user
|
||||
password:
|
||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
||||
from_secret: docker_hub_pass
|
||||
|
||||
image_pull_secrets:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -48,17 +50,19 @@ steps:
|
|||
auto_tag_suffix: linux-amd64
|
||||
mirror: https://registry.cuzo.dev
|
||||
username:
|
||||
from_secret: DOCKER_REGISTRY_USER
|
||||
from_secret: docker_hub_user
|
||||
password:
|
||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
||||
from_secret: docker_hub_pass
|
||||
|
||||
image_pull_secrets:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -78,9 +82,9 @@ steps:
|
|||
auto_tag: true
|
||||
ignore_missing: true
|
||||
username:
|
||||
from_secret: DOCKER_REGISTRY_USER
|
||||
from_secret: docker_hub_user
|
||||
password:
|
||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
||||
from_secret: docker_hub_pass
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm
|
||||
|
@ -90,12 +94,14 @@ depends_on:
|
|||
- arm32
|
||||
|
||||
image_pull_secrets:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -106,10 +112,8 @@ steps:
|
|||
image: registry.cuzo.dev/plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: DRONE_API_KEY
|
||||
from_secret: drone_api_key
|
||||
base_url: https://git.cuzo.dev
|
||||
title:
|
||||
from_secret: DRONE_SEMVER
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/*
|
||||
|
@ -118,11 +122,12 @@ depends_on:
|
|||
- manifest
|
||||
|
||||
image_pull_secrets:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -135,18 +140,20 @@ steps:
|
|||
status: [success, failure]
|
||||
settings:
|
||||
to:
|
||||
from_secret: TG_USER
|
||||
from_secret: tg_user
|
||||
token:
|
||||
from_secret: TG_TOKEN
|
||||
from_secret: tg_password
|
||||
|
||||
depends_on:
|
||||
- manifest
|
||||
- release
|
||||
|
||||
image_pull_secrets:
|
||||
- PRIVATE_DOCKER_REGISTRY
|
||||
- custom_mirror_registry
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
exclude:
|
||||
- pull_request
|
||||
|
|
Loading…
Reference in a new issue