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:
|
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}
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue