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
37
.drone.yml
37
.drone.yml
@ -5,12 +5,40 @@ name: build
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
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: pipeline
|
||||
type: docker
|
||||
name: cron
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
cron:
|
||||
include:
|
||||
- daily
|
||||
steps:
|
||||
- name: build-lts
|
||||
@ -35,8 +63,9 @@ steps:
|
||||
tags:
|
||||
- latest-alpine
|
||||
- latest
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 49ace2dd657133770bc210f9493233f83ca27d088dd94a4e54b29432d4188944
|
||||
hmac: ca96c5b12444e50535a1817f718a53211b80d66deca3ded0a909066f54562054
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user