From 10d55dd3e9a5cc82b05e8e17d3d11ed6547c2b14 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Wed, 25 Jan 2023 22:18:57 -0800 Subject: [PATCH] wp --- .woodpecker.yml | 25 +++++++++++++++++++++++++ Dockerfile | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 .woodpecker.yml create mode 100644 Dockerfile diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..29c0af8 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,25 @@ +pipeline: + publish-docker-image: + image: plugins/kaniko + settings: + registry: gitea.asdf.cafe + repo: gitea.asdf.cafe/abs3nt/lmgtfy + tags: latest,v1-${CI_COMMIT_SHA:0:8} + dockerfile: Dockerfile + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD + publish-stable: + image: plugins/kaniko + when: + event: tag + settings: + registry: gitea.asdf.cafe + repo: gitea.asdf.cafe/abs3nt/lmgtfy + tags: stable + dockerfile: Dockerfile + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..db5b5a2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM busybox +COPY dist . +CMD ["sh","-c","busybox httpd -f -v -p 3000"]