1
0
Fork 0

Refactor build pipeline and update Dockerfile
ci/woodpecker/push/woodpecker Pipeline was successful Details

- Update platform to include amd64
- Change default tag in Dockerfile from 18-alpine to 16-alpine
main
naicoi 2023-05-18 13:19:30 +07:00
parent b218c1fe1a
commit 9d71c6c466
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
matrix:
platform:
- amd64
- arm64
- amd64
os:
- alpine
- slim
@ -10,14 +10,13 @@ matrix:
- 18
- 20
platform: linux/${platform}
pipeline:
${version}-${os}-${platform}:
image: plugins/docker
settings:
registry: techio.dev
repo: techio.dev/${CI_REPO}
platform: linux/${platform}
tags:
- ${version}-${os}-${platform}
build_args:

View File

@ -1,3 +1,3 @@
ARG tag=18-alpine
ARG tag=16-alpine
FROM node:${tag}
RUN npm install -g vercel