fix: donot use git shallow copy

This commit is contained in:
Simon Ding
2024-07-27 16:04:01 +08:00
parent f065abfbf9
commit 5175e651ee
3 changed files with 4 additions and 2 deletions

View File

@@ -25,6 +25,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to image repository - name: Login to image repository
uses: docker/login-action@v2 uses: docker/login-action@v2

View File

@@ -22,6 +22,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up QEMU - name: Set Up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3

View File

@@ -18,8 +18,6 @@ COPY go.mod .
COPY go.sum . COPY go.sum .
RUN go mod download RUN go mod download
RUN apt-get update && apt-get -y install git
COPY . . COPY . .
COPY --from=flutter /app/build/web ./ui/build/web/ COPY --from=flutter /app/build/web ./ui/build/web/