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:
os:
- alpine
- slim
version:
- 16
- 18
- 20
pipeline:
${version}-${os}:
image: woodpeckerci/plugin-docker-buildx:20
${version}-alpine:
image: plugins/docker
settings:
repo: lttech/vercel
platforms: linux/amd64,linux/arm64
tags:
- ${version}-${os}
build_args:
- tag=${version}-${os}
username: lttech
registry: techio.dev
repo: techio.dev/${CI_REPO}
username: deploy
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
FROM node:${tag}
ARG version=16
FROM node:${version}-alpine
RUN apk add g++ make py3-pip
RUN npm i -g vercel