wp
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
abs3nt 2023-01-25 22:18:57 -08:00
parent 277ba13665
commit 10d55dd3e9
2 changed files with 28 additions and 0 deletions

25
.woodpecker.yml Normal file
View File

@ -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

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM busybox
COPY dist .
CMD ["sh","-c","busybox httpd -f -v -p 3000"]