1
0
Fork 0

Refactor pipeline and Dockerfile to use new registry
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/manual/woodpecker Pipeline was successful Details

- Changed the pipeline to use a new registry, techio.dev
- Removed platforms from pipeline settings
- Updated Dockerfile to use version instead of tag in FROM statement
main
naicoi 2023-05-18 15:21:44 +07:00
parent 36f6351004
commit 5f90b2d9ad
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
2 changed files with 12 additions and 15 deletions

View File

@ -1,22 +1,19 @@
matrix: matrix:
os:
- alpine
- slim
version: version:
- 16 - 16
- 18 - 18
- 20 - 20
pipeline: pipeline:
${version}-${os}: ${version}-alpine:
image: woodpeckerci/plugin-docker-buildx:20 image: plugins/docker
settings: settings:
repo: lttech/vercel registry: techio.dev
platforms: linux/amd64,linux/arm64 repo: techio.dev/${CI_REPO}
tags: username: deploy
- ${version}-${os}
build_args:
- tag=${version}-${os}
username: lttech
password: password:
from_secret: docker_lttech from_secret: deploy_password
tags:
- ${version}
build_args:
- version=${version}

View File

@ -1,4 +1,4 @@
ARG tag=16-alpine ARG version=16
FROM node:${tag} FROM node:${version}-alpine
RUN apk add g++ make py3-pip RUN apk add g++ make py3-pip
RUN npm i -g vercel RUN npm i -g vercel