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

View File

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