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"]