Compare commits
No commits in common. "06a9accdacb767a017610cdf23603345660cc19f" and "7930d682ed2bb794817b9eb511feeb61d7da70ba" have entirely different histories.
06a9accdac
...
7930d682ed
@ -1,3 +0,0 @@
|
|||||||
.vscode
|
|
||||||
.github
|
|
||||||
.git
|
|
24
.drone.yml
24
.drone.yml
@ -1,24 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: buildLatestImage
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: buildLatestImage
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
registry: git.jamestombleson.com
|
|
||||||
repo: jtom38/Personal-Site
|
|
||||||
username: jtom38
|
|
||||||
password:
|
|
||||||
from_secret: GiteaContainerRegistry
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
include:
|
|
||||||
- main
|
|
||||||
|
|
||||||
event:
|
|
||||||
exclude:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
|
|
16
Dockerfile
16
Dockerfile
@ -1,16 +0,0 @@
|
|||||||
FROM alpine:3.18 as build
|
|
||||||
|
|
||||||
RUN apk add hugo
|
|
||||||
RUN apk add go
|
|
||||||
RUN apk add git
|
|
||||||
COPY . /app
|
|
||||||
WORKDIR /app
|
|
||||||
RUN hugo
|
|
||||||
|
|
||||||
FROM alpine:3.18
|
|
||||||
RUN apk add caddy
|
|
||||||
COPY --from=build /app/public /site
|
|
||||||
WORKDIR /site
|
|
||||||
EXPOSE 1313
|
|
||||||
|
|
||||||
ENTRYPOINT [ "caddy", "file-server", "--listen", ":1313" ]
|
|
Loading…
Reference in New Issue
Block a user