chore(build): use hugomods/hugo base image for build
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m32s
All checks were successful
Build Blog Docker Image / build docker (push) Successful in 1m32s
This commit is contained in:
@ -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.145.0
|
||||
file: ./hugo.Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: git.d3vyce.fr/d3vyce/hugo:latest
|
@ -34,8 +34,6 @@ jobs:
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
build-args:
|
||||
BLOWFISH_VERSION=v2.84.0
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
Reference in New Issue
Block a user