Compare commits

...

2 Commits

Author SHA1 Message Date
3adb125d74
feat: Add ci pipeline 2024-07-22 14:01:42 +02:00
559e29767f
Add dockerfiles 2024-07-22 14:00:27 +02:00
3 changed files with 50 additions and 0 deletions

42
.drone.yml Normal file
View File

@ -0,0 +1,42 @@
---
kind: pipeline
type: docker
name: build
trigger:
event:
- push
- cron
branch:
include:
- main
cron:
include:
- 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
...

4
latest/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM node:alpine as BASE
ENV PNPM_HOME="./.pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN npm i -g pnpm@latest

4
lts/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM node:lts-alpine as BASE
ENV PNPM_HOME="./.pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN npm i -g pnpm@latest