From 9d71c6c46632098ce4e8be86c0a2a321f5c95f3f Mon Sep 17 00:00:00 2001 From: naicoi Date: Thu, 18 May 2023 13:19:30 +0700 Subject: [PATCH] Refactor build pipeline and update Dockerfile - Update platform to include amd64 - Change default tag in Dockerfile from 18-alpine to 16-alpine --- .woodpecker.yml | 5 ++--- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4ef267f..326eec9 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,7 +1,7 @@ matrix: platform: - - amd64 - arm64 + - amd64 os: - alpine - slim @@ -10,14 +10,13 @@ matrix: - 18 - 20 -platform: linux/${platform} - pipeline: ${version}-${os}-${platform}: image: plugins/docker settings: registry: techio.dev repo: techio.dev/${CI_REPO} + platform: linux/${platform} tags: - ${version}-${os}-${platform} build_args: diff --git a/Dockerfile b/Dockerfile index d058885..9c65ad9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -ARG tag=18-alpine +ARG tag=16-alpine FROM node:${tag} RUN npm install -g vercel \ No newline at end of file