fix: Separate cron and push job
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Lukas | AstroGD 2024-07-22 14:03:33 +02:00
parent 3adb125d74
commit ba4a1df5b0
Signed by: AstroGD
GPG Key ID: 82A5E6C236C535AA

View File

@ -5,13 +5,8 @@ name: build
trigger: trigger:
event: event:
- push - push
- cron
branch: branch:
include: - main
- main
cron:
include:
- daily
steps: steps:
- name: build-lts - name: build-lts
image: plugins/docker image: plugins/docker
@ -35,8 +30,42 @@ steps:
tags: tags:
- latest-alpine - latest-alpine
- latest - 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 kind: signature
hmac: 49ace2dd657133770bc210f9493233f83ca27d088dd94a4e54b29432d4188944 hmac: ca96c5b12444e50535a1817f718a53211b80d66deca3ded0a909066f54562054
... ...