Added Docker
This commit is contained in:
parent
0d46eb01a0
commit
6cb251932f
3 changed files with 22 additions and 0 deletions
4
.dockerignore
Normal file
4
.dockerignore
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
LICENSE
|
||||||
|
README.md
|
||||||
|
DOCKERFILE
|
||||||
|
docker-compose.yml
|
14
.woodpecker.yml
Normal file
14
.woodpecker.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
steps:
|
||||||
|
- publish:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
platforms: linux/amd64
|
||||||
|
repo: git.hackmi.ch/hackmi.ch/home
|
||||||
|
registry: git.hackmi.ch
|
||||||
|
tags: latest
|
||||||
|
username:
|
||||||
|
from_secret: reg-user
|
||||||
|
password:
|
||||||
|
from_secret: reg-pass
|
||||||
|
when:
|
||||||
|
event: push
|
4
Dockerfile
Normal file
4
Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM nginx:alpine
|
||||||
|
RUN rm -rf /usr/share/nginx/html
|
||||||
|
RUN mkdir -p /usr/share/nginx/html
|
||||||
|
COPY . /usr/share/nginx/html/
|
Loading…
Reference in a new issue