Compare commits

9 Commits

Author SHA1 Message Date
78bd487cfe bump: blowfish/hugo version + theme submodule
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m45s
2025-06-28 07:42:39 -04:00
f342bf94ad Merge pull request 'chore(deps): update nginx docker tag to v1.29' (#12) from renovate/nginx-1.x into main
Some checks failed
Build Blog Docker Image / build docker (push) Has been cancelled
Reviewed-on: #12
2025-06-27 20:10:14 +02:00
367670897b chore(deps): update nginx docker tag to v1.29 2025-06-25 00:00:40 +00:00
030690546d Revert "bump: blowfish/hugo version"
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m18s
This reverts commit 834fc3f045.
2025-05-03 05:31:31 -04:00
834fc3f045 bump: blowfish/hugo version
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m26s
2025-05-03 05:09:11 -04:00
0e7b6a4634 chore(build): use hugomods/hugo base image for build
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m32s
2025-04-26 05:49:15 -04:00
295da91a77 Merge pull request 'chore(deps): update nginx docker tag to v1.28' (#10) from renovate/nginx-1.x into main
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 2m19s
Reviewed-on: #10
2025-04-26 11:37:52 +02:00
8ab461d601 chore(deps): update nginx docker tag to v1.28 2025-04-24 00:00:40 +00:00
616accd48f bump: blowfish/hugo version
All checks were successful
Build Hugo Docker Image / build docker (push) Successful in 6m24s
Build Blog Docker Image / build docker (push) Successful in 3m15s
2025-03-30 15:07:49 -04:00
6 changed files with 4 additions and 52 deletions

View File

@ -1,33 +0,0 @@
name: Build Hugo Docker Image
on:
push:
paths:
- ".gitea/workflows/1_build_hugo_image.yml"
jobs:
build docker:
runs-on: linux_amd
steps:
- name: checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: git.d3vyce.fr
username: ${{ github.actor }}
password: ${{ secrets.GIT_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
build-args:
HUGO_VERSION=v0.142.0
file: ./hugo.Dockerfile
platforms: linux/amd64
push: true
tags: git.d3vyce.fr/d3vyce/hugo:latest

View File

@ -34,8 +34,6 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
build-args:
BLOWFISH_VERSION=v2.82.0
file: ./Dockerfile
platforms: linux/amd64
push: true

View File

@ -1,5 +1,5 @@
# Build Stage
FROM git.d3vyce.fr/d3vyce/hugo:latest AS build
FROM hugomods/hugo:0.147.8 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 ${BLOWFISH_VERSION}
git -C themes/blowfish/ checkout v2.87.0
RUN hugo
# Publish Stage
FROM nginx:1.27-alpine
FROM nginx:1.29-alpine
WORKDIR /usr/share/nginx/html
COPY --from=build /opt/blog/public /usr/share/nginx/html/

View File

@ -1,7 +1,6 @@
---
title: "d3vyce Blog's"
description: "This page was built using the Blowfish theme for Hugo."
layout: "simple"
---
{{< list title="Latest Projects" cardView=true limit=3 where="Type" value="projects" >}}

View File

@ -1,12 +0,0 @@
FROM golang:1.24-alpine AS build
ARG HUGO_VERSION
ARG CGO=1
ENV CGO_ENABLED=${CGO}
ENV GOOS=linux
ENV GO111MODULE=on
RUN apk update && \
apk add --no-cache gcc musl-dev g++ git
RUN go install -tags extended github.com/gohugoio/hugo@${HUGO_VERSION}