Refactor Dockerfile to use yarn instead of npm and update docker image in .woodpecker.yml
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
- Use yarn instead of npm in Dockerfile - Update docker image from plugins/docker to woodpeckerci/plugin-docker-buildx in .woodpecker.yml - Change registry from techio.dev to lttech/vercel in .woodpecker.yml - Add platforms linux/amd64,linux/arm64/v8 in .woodpecker.ymlmain
parent
9d71c6c466
commit
a1fb105b0b
|
@ -12,15 +12,14 @@ matrix:
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
${version}-${os}-${platform}:
|
${version}-${os}-${platform}:
|
||||||
image: plugins/docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
registry: techio.dev
|
repo: lttech/vercel
|
||||||
repo: techio.dev/${CI_REPO}
|
platforms: linux/amd64,linux/arm64/v8
|
||||||
platform: linux/${platform}
|
|
||||||
tags:
|
tags:
|
||||||
- ${version}-${os}-${platform}
|
- ${version}-${os}
|
||||||
build_args:
|
build_args:
|
||||||
- tag=${version}-${os}
|
- tag=${version}-${os}
|
||||||
username: deploy
|
username: lttech
|
||||||
password:
|
password:
|
||||||
from_secret: deploy_password
|
from_secret: docker_lttech
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
ARG tag=16-alpine
|
ARG tag=16-alpine
|
||||||
FROM node:${tag}
|
FROM node:${tag}
|
||||||
RUN npm install -g vercel
|
RUN yarn global add vercel
|
Loading…
Reference in New Issue