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
|
auto_tag_suffix: linux-arm
|
||||||
mirror: https://registry.cuzo.dev
|
mirror: https://registry.cuzo.dev
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_REGISTRY_USER
|
from_secret: docker_hub_user
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
from_secret: docker_hub_pass
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- custom_mirror_registry
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -48,17 +50,19 @@ steps:
|
||||||
auto_tag_suffix: linux-amd64
|
auto_tag_suffix: linux-amd64
|
||||||
mirror: https://registry.cuzo.dev
|
mirror: https://registry.cuzo.dev
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_REGISTRY_USER
|
from_secret: docker_hub_user
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
from_secret: docker_hub_pass
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- custom_mirror_registry
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -78,9 +82,9 @@ steps:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_REGISTRY_USER
|
from_secret: docker_hub_user
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_REGISTRY_PASSWORD
|
from_secret: docker_hub_pass
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm
|
- linux/arm
|
||||||
|
@ -90,12 +94,14 @@ depends_on:
|
||||||
- arm32
|
- arm32
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- custom_mirror_registry
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -106,10 +112,8 @@ steps:
|
||||||
image: registry.cuzo.dev/plugins/gitea-release
|
image: registry.cuzo.dev/plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: DRONE_API_KEY
|
from_secret: drone_api_key
|
||||||
base_url: https://git.cuzo.dev
|
base_url: https://git.cuzo.dev
|
||||||
title:
|
|
||||||
from_secret: DRONE_SEMVER
|
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*
|
- refs/tags/*
|
||||||
|
@ -118,11 +122,12 @@ depends_on:
|
||||||
- manifest
|
- manifest
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- custom_mirror_registry
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -135,18 +140,20 @@ steps:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
settings:
|
settings:
|
||||||
to:
|
to:
|
||||||
from_secret: TG_USER
|
from_secret: tg_user
|
||||||
token:
|
token:
|
||||||
from_secret: TG_TOKEN
|
from_secret: tg_password
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- manifest
|
- manifest
|
||||||
- release
|
- release
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- PRIVATE_DOCKER_REGISTRY
|
- custom_mirror_registry
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
Loading…
Reference in a new issue