Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_vendor/
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1
with:
hugo-version: 'latest'
hugo-version: '0.164.0'
extended: true

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1
with:
hugo-version: 'latest'
hugo-version: '0.164.0'
extended: true

- name: Setup Pages
Expand Down
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM golang:1.26.5-alpine AS builder
FROM ghcr.io/gohugoio/hugo:v0.164.0 AS builder

RUN apk add --no-cache git hugo

WORKDIR /build
COPY . .
WORKDIR /project
COPY --chown=hugo:hugo . .

RUN hugo --minify
Comment on lines +1 to 6

FROM nginx:alpine
COPY --from=builder /build/public /usr/share/nginx/html
COPY --from=builder /project/public /usr/share/nginx/html
EXPOSE 80
2 changes: 1 addition & 1 deletion hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
baseURL: https://git-pkgs.dev/
languageCode: en-us
locale: en-US
title: git-pkgs

module:
Expand Down