This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
# Build Stage
|
||||
FROM hugomods/hugo:0.160.1 AS build
|
||||
FROM hugomods/hugo:0.161.1 AS build
|
||||
|
||||
ARG BLOWFISH_VERSION
|
||||
|
||||
@@ -7,11 +7,11 @@ WORKDIR /opt/blog
|
||||
COPY . /opt/blog/
|
||||
|
||||
RUN git submodule update --init --recursive && \
|
||||
git -C themes/blowfish/ checkout v2.102.0
|
||||
git -C themes/blowfish/ checkout v2.103.0
|
||||
RUN hugo
|
||||
|
||||
# Publish Stage
|
||||
FROM nginx:1.29-alpine
|
||||
FROM nginx:1.31-alpine
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
COPY --from=build /opt/blog/public /usr/share/nginx/html/
|
||||
|
||||
Reference in New Issue
Block a user