docker-pnpm/.drone.yml
Lukas | AstroGD 68dc85cbd6
Some checks failed
continuous-integration/drone/push Build is failing
fix: Move location argument to back
2025-02-24 00:07:07 +01:00

152 lines
3.7 KiB
YAML

---
kind: pipeline
type: docker
name: build
trigger:
event:
- push
branch:
- main
steps:
- name: build-lts
image: plugins/docker:20.18.6
settings:
context: --provenance=true --sbom=true
username:
from_secret: registry_username
password:
from_secret: registry_key
repo: astrogd/pnpm
tags:
- lts-alpine
- lts
dockerfile: lts/Dockerfile
auto_label: true
custom_labels: automated.build=true .
- name: build-lts-astrogd
image: plugins/docker:20.18.6
settings:
registry: registry.astrogd.cloud
context: --provenance=true --sbom=true .
username:
from_secret: astrogd_registry_username
password:
from_secret: astrogd_registry_key
repo: registry.astrogd.cloud/pnpm
tags:
- lts-alpine
- lts
dockerfile: lts/Dockerfile
auto_label: true
custom_labels: automated.build=true .
- name: build-latest
image: plugins/docker:20.18.6
settings:
context: --provenance=true --sbom=true .
username:
from_secret: registry_username
password:
from_secret: registry_key
repo: astrogd/pnpm
tags:
- latest-alpine
- latest
dockerfile: latest/Dockerfile
auto_label: true
custom_labels: automated.build=true .
- name: build-latest-astrogd
image: plugins/docker:20.18.6
settings:
registry: registry.astrogd.cloud
context: --provenance=true --sbom=true .
username:
from_secret: astrogd_registry_username
password:
from_secret: astrogd_registry_key
repo: registry.astrogd.cloud/pnpm
tags:
- latest-alpine
- latest
dockerfile: latest/Dockerfile
auto_label: true
custom_labels: automated.build=true .
---
kind: pipeline
type: docker
name: cron
trigger:
event:
- cron
cron:
- daily
steps:
- name: build-lts
image: plugins/docker:20.18.6
settings:
context: --provenance=true --sbom=true .
username:
from_secret: registry_username
password:
from_secret: registry_key
repo: astrogd/pnpm
tags:
- lts-alpine
- lts
dockerfile: lts/Dockerfile
auto_label: true
custom_labels: automated.build=true .
- name: build-lts-astrogd
image: plugins/docker:20.18.6
settings:
registry: registry.astrogd.cloud
context: --provenance=true --sbom=true .
username:
from_secret: astrogd_registry_username
password:
from_secret: astrogd_registry_key
repo: registry.astrogd.cloud/pnpm
tags:
- lts-alpine
- lts
dockerfile: lts/Dockerfile
auto_label: true
custom_labels: automated.build=true .
- name: build-latest
image: plugins/docker:20.18.6
settings:
context: --provenance=true --sbom=true .
username:
from_secret: registry_username
password:
from_secret: registry_key
repo: astrogd/pnpm
tags:
- latest-alpine
- latest
dockerfile: latest/Dockerfile
auto_label: true
custom_labels: automated.build=true .
- name: build-latest-astrogd
image: plugins/docker:20.18.6
settings:
registry: registry.astrogd.cloud
context: --provenance=true --sbom=true .
username:
from_secret: astrogd_registry_username
password:
from_secret: astrogd_registry_key
repo: registry.astrogd.cloud/pnpm
tags:
- latest-alpine
- latest
dockerfile: latest/Dockerfile
auto_label: true
custom_labels: automated.build=true .
---
kind: signature
hmac: 54a9818f736899c90625a1e3d76da872ffa9557934e32ed7eb8d584bcdef248f
...