fix: Separate cron and push job
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
3adb125d74
commit
ba4a1df5b0
43
.drone.yml
43
.drone.yml
@ -5,13 +5,8 @@ name: build
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
cron:
|
||||
include:
|
||||
- daily
|
||||
- main
|
||||
steps:
|
||||
- name: build-lts
|
||||
image: plugins/docker
|
||||
@ -35,8 +30,42 @@ steps:
|
||||
tags:
|
||||
- latest-alpine
|
||||
- latest
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: cron
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
- daily
|
||||
steps:
|
||||
- name: build-lts
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_key
|
||||
repo: astrogd/pnpm
|
||||
tags:
|
||||
- lts-alpine
|
||||
- lts
|
||||
- name: build-latest
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_key
|
||||
repo: astrogd/pnpm
|
||||
tags:
|
||||
- latest-alpine
|
||||
- latest
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 49ace2dd657133770bc210f9493233f83ca27d088dd94a4e54b29432d4188944
|
||||
hmac: ca96c5b12444e50535a1817f718a53211b80d66deca3ded0a909066f54562054
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user