This commit is contained in:
parent
a29b2578d9
commit
81206c06ea
15
.drone.yml
15
.drone.yml
@ -3,8 +3,13 @@ type: kubernetes
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: greeting
|
- name: docker
|
||||||
image: alpine
|
image: plugins/docker
|
||||||
commands:
|
settings:
|
||||||
- echo hello
|
registry: https://gitea.va.reichard.io
|
||||||
- echo world
|
repo: reichard/docs
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
tags: ["latest"]
|
||||||
|
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Build Image
|
||||||
|
FROM squidfunk/mkdocs-material:latest as build
|
||||||
|
|
||||||
|
# Build MkDocs
|
||||||
|
COPY . /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN pip install -U -r ./requirements.txt
|
||||||
|
RUN mkdocs build
|
||||||
|
|
||||||
|
# Main Image - Copy Resources
|
||||||
|
FROM nginx
|
||||||
|
COPY --from=build /app/site /usr/share/nginx/html
|
Loading…
Reference in New Issue
Block a user