1
0
Fork 0

Add Woodpecker CI pipeline for Docker build and deployment

This commit adds a new `.woodpecker.yml` file with settings for building and deploying Docker images using the `woodpeckerci/plugin-docker-buildx` image. The `Dockerfile` has also been updated to install `curl`, Deno, and deployctl.
main
naicoi 2023-05-18 14:46:28 +07:00
parent 692fb5b2d1
commit 2a6920eb96
Signed by: naicoi
GPG Key ID: 7142E472DF7CF7D9
2 changed files with 17 additions and 0 deletions

13
.woodpecker.yml Normal file
View File

@ -0,0 +1,13 @@
pipeline:
alpine:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: lttech/deno-deployctl
platforms: linux/amd64,linux/arm64/v8
tags:
- ${version}-${os}
build_args:
- tag=${version}-${os}
username: lttech
password:
from_secret: docker_lttech

4
Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM alpine
RUN apk add curl
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