parent
277ba13665
commit
10d55dd3e9
25
.woodpecker.yml
Normal file
25
.woodpecker.yml
Normal 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
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM busybox
|
||||||
|
COPY dist .
|
||||||
|
CMD ["sh","-c","busybox httpd -f -v -p 3000"]
|
Loading…
Reference in New Issue
Block a user