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: matrix:
os:
- alpine
- slim
version: version:
- 16 - 16
- 18 - 18
- 20 - 20
pipeline: pipeline:
${version}-${os}: ${version}-alpine:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: lttech/pm2 repo: lttech/pm2
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: tags:
- ${version}-${os} - ${version}
build_args: build_args:
- tag=${version}-${os} - version=${version}
username: lttech username: lttech
password: password:
from_secret: docker_lttech from_secret: docker_lttech

View File

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