Remove Alpine and Slim from OS matrix in .woodpecker.yml
ci/woodpecker/push/woodpecker Pipeline was successful
Details
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
parent
cdc44ea78a
commit
41b3f0dc9a
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue