1
0
Fork 0

Refactor build pipeline and update Dockerfile base image
ci/woodpecker/push/woodpecker Pipeline failed Details

- 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
main
naicoi 2023-05-18 15:06:27 +07:00
parent 749f5b9ff1
commit b5fa3ac614
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
2 changed files with 7 additions and 8 deletions

View File

@ -1,9 +1,9 @@
pipeline: pipeline:
alpine: build:
image: woodpeckerci/plugin-docker-buildx image: plugins/docker
settings: settings:
repo: lttech/deno-deployctl registry: techio.dev
platforms: linux/amd64,linux/arm64 repo: techio.dev/${CI_REPO}
username: lttech username: deploy
password: password:
from_secret: docker_lttech from_secret: deploy_password

View File

@ -1,4 +1,3 @@
FROM alpine FROM ubuntu
RUN apk add curl
RUN curl -fsSL https://deno.land/x/install/install.sh | sh 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 RUN deno install --allow-all --no-check -r -f https://deno.land/x/deploy/deployctl.ts