From b5fa3ac614cdcaf2f263f5103ff3084887b22b0e Mon Sep 17 00:00:00 2001 From: naicoi Date: Thu, 18 May 2023 15:06:27 +0700 Subject: [PATCH] Refactor build pipeline and update Dockerfile base image - Update build pipeline to use plugins/docker instead of woodpeckerci/plugin-docker-buildx - Change registry, repo, and username settings in the build pipeline - Update base image in Dockerfile from Alpine to Ubuntu - Remove unnecessary Alpine package installation command --- .woodpecker.yml | 12 ++++++------ Dockerfile | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d2c900d..78b1916 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,9 +1,9 @@ pipeline: - alpine: - image: woodpeckerci/plugin-docker-buildx + build: + image: plugins/docker settings: - repo: lttech/deno-deployctl - platforms: linux/amd64,linux/arm64 - username: lttech + registry: techio.dev + repo: techio.dev/${CI_REPO} + username: deploy password: - from_secret: docker_lttech + from_secret: deploy_password diff --git a/Dockerfile b/Dockerfile index 8e308ae..38aba7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -FROM alpine -RUN apk add curl +FROM ubuntu RUN curl -fsSL https://deno.land/x/install/install.sh | sh RUN deno install --allow-all --no-check -r -f https://deno.land/x/deploy/deployctl.ts \ No newline at end of file