fix: build ci job
Build Blog Docker Image / build-docker (push) Successful in 1m57s

This commit is contained in:
2026-08-10 14:22:52 -04:00
parent 61b144328d
commit 1e86ccd236
2 changed files with 27 additions and 26 deletions
+3 -5
View File
@@ -1,17 +1,15 @@
# Build Stage
FROM hugomods/hugo:0.161.1 AS build
ARG BLOWFISH_VERSION
FROM docker.io/hugomods/hugo:0.164.0 AS build
WORKDIR /opt/blog
COPY . /opt/blog/
RUN git submodule update --init --recursive && \
git -C themes/blowfish/ checkout v2.103.0
git -C themes/blowfish/ checkout v2.105.0
RUN hugo
# Publish Stage
FROM nginx:1.31-alpine
FROM docker.io/nginx:1.31-alpine
WORKDIR /usr/share/nginx/html
COPY --from=build /opt/blog/public /usr/share/nginx/html/