fix: hugo image build
Some checks failed
Build Blog Docker Image / build docker (push) Failing after 40s

This commit is contained in:
d3vyce 2024-02-11 12:28:00 +01:00
parent f295e8ccfc
commit 6ea0bcef86
2 changed files with 7 additions and 6 deletions

View File

@ -3,7 +3,7 @@ name: Build Hugo Docker Image
on: on:
push: push:
branches: branches:
- main - hugo_update
jobs: jobs:
build docker: build docker:
@ -11,11 +11,11 @@ jobs:
steps: steps:
- name: checkout code - name: checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Get changed files # - name: Get changed files
id: changed-files # id: changed-files
uses: tj-actions/changed-files@v42 # uses: tj-actions/changed-files@v42
with: # with:
files: hugo.Dockerfile # files: hugo.Dockerfile
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx

View File

@ -2,6 +2,7 @@
## Install ## Install
``` ```
export PATH=$PATH:/usr/local/go/bin
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
git submodule update --recursive git submodule update --recursive
``` ```