1
0
Fork 0

Remove Alpine and Slim from OS matrix in .woodpecker.yml
ci/woodpecker/push/woodpecker Pipeline was successful Details

The commit removes Alpine and Slim from the OS matrix in .woodpecker.yml, leaving only versions 16 and 18.
Remove Alpine and Slim from OS matrix in .woodpecker.yml

The commit removes Alpine and Slim from the OS matrix in .woodpecker.yml, leaving only versions 16 and 18. The pipeline has been updated to use only alpine images with the version number as a tag. The Dockerfile now uses the version number to pull an alpine image instead of specifying both the version and OS.
main
naicoi 2023-05-18 15:30:28 +07:00
parent cdc44ea78a
commit 41b3f0dc9a
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
2 changed files with 5 additions and 8 deletions

View File

@ -1,22 +1,19 @@
matrix:
os:
- alpine
- slim
version:
- 16
- 18
- 20
pipeline:
${version}-${os}:
${version}-alpine:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: lttech/pm2
platforms: linux/amd64,linux/arm64
tags:
- ${version}-${os}
- ${version}
build_args:
- tag=${version}-${os}
- version=${version}
username: lttech
password:
from_secret: docker_lttech

View File

@ -1,4 +1,4 @@
ARG tag=16-alpine
FROM node:${tag}
ARG version=16
FROM node:${version}-alpine
RUN npm i -g pm2
RUN pm2 install typescript