fix: hugo image build
This commit is contained in:
parent
f295e8ccfc
commit
8c7e30c932
@ -16,6 +16,8 @@ jobs:
|
|||||||
uses: tj-actions/changed-files@v42
|
uses: tj-actions/changed-files@v42
|
||||||
with:
|
with:
|
||||||
files: hugo.Dockerfile
|
files: hugo.Dockerfile
|
||||||
|
- name: Stop of Dockerfile not changed
|
||||||
|
if: steps.changed-files.modified_files == 1
|
||||||
- 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
|
||||||
|
@ -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
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user