diff --git a/.gitea/workflows/build_blog_image.yml b/.gitea/workflows/build_blog_image.yml index 16f1419..96f9ef4 100644 --- a/.gitea/workflows/build_blog_image.yml +++ b/.gitea/workflows/build_blog_image.yml @@ -11,6 +11,8 @@ jobs: steps: - name: checkout code uses: actions/checkout@v3 + with: + lfs: 'true' - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx diff --git a/README.md b/README.md index 192e85d..beb29de 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,5 @@ export PATH=$PATH:/usr/local/go/bin CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest git submodule update --recursive +git lfs pull ``` \ No newline at end of file diff --git a/hugo.Dockerfile b/hugo.Dockerfile index 262a294..e6b42a8 100644 --- a/hugo.Dockerfile +++ b/hugo.Dockerfile @@ -6,5 +6,5 @@ ENV GOOS=linux ENV GO111MODULE=on RUN apk update && \ - apk add --no-cache gcc musl-dev g++ git + apk add --no-cache gcc musl-dev g++ git git-lfs RUN go install -tags extended github.com/gohugoio/hugo@v0.122.0