Compare commits
2 Commits
741d010fc1
...
3adb125d74
Author | SHA1 | Date | |
---|---|---|---|
3adb125d74 | |||
559e29767f |
42
.drone.yml
Normal file
42
.drone.yml
Normal 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
4
latest/Dockerfile
Normal 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
4
lts/Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user