1
0
Fork 0

Refactor Dockerfile to use yarn instead of npm and update docker image in .woodpecker.yml
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.yml
main
naicoi 2023-05-18 13:48:22 +07:00
parent 9d71c6c466
commit a1fb105b0b
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
2 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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