Update Drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Evan Reichard 2023-04-25 20:07:21 -04:00
parent a29b2578d9
commit 39b5a3faaf
2 changed files with 24 additions and 5 deletions

View File

@ -3,8 +3,15 @@ type: kubernetes
name: default
steps:
- name: greeting
image: alpine
commands:
- echo hello
- echo world
- name: docker
image: plugins/docker
settings:
registry: gitea.va.reichard.io
repo: gitea.va.reichard.io/reichard/docs
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- ${DRONE_COMMIT}

12
Dockerfile Normal file
View 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