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
parent
692fb5b2d1
commit
2a6920eb96
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue