Refactor pipeline and Dockerfile to use new registry
- 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 statementmain
parent
36f6351004
commit
5f90b2d9ad
|
@ -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}
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue