Refactor build pipeline and update Dockerfile
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
- Update platform to include amd64 - Change default tag in Dockerfile from 18-alpine to 16-alpinemain
parent
b218c1fe1a
commit
9d71c6c466
|
@ -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:
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue