docker-pnpm/.drone.yml
Lukas | AstroGD ba4a1df5b0
Some checks failed
continuous-integration/drone/push Build is failing
fix: Separate cron and push job
2024-07-22 14:03:33 +02:00

72 lines
1.2 KiB
YAML

---
kind: pipeline
type: docker
name: build
trigger:
event:
- push
branch:
- 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:
- 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: ca96c5b12444e50535a1817f718a53211b80d66deca3ded0a909066f54562054
...