add: git-lfs to Dockerfile
Some checks failed
Build Blog Docker Image / build docker (push) Failing after 2m33s
Some checks failed
Build Blog Docker Image / build docker (push) Failing after 2m33s
This commit is contained in:
parent
ebaff0c72c
commit
5f71cc7249
@ -11,6 +11,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
lfs: 'true'
|
||||||
- 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
|
||||||
|
@ -5,4 +5,5 @@
|
|||||||
export PATH=$PATH:/usr/local/go/bin
|
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
|
||||||
|
git lfs pull
|
||||||
```
|
```
|
@ -6,5 +6,5 @@ ENV GOOS=linux
|
|||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
|
|
||||||
RUN apk update && \
|
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
|
RUN go install -tags extended github.com/gohugoio/hugo@v0.122.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user