From 5175e651eebbbf1b986f9a24d7dded9413994544 Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Sat, 27 Jul 2024 16:04:01 +0800 Subject: [PATCH] fix: donot use git shallow copy --- .github/workflows/go.yml | 2 ++ .github/workflows/release.yml | 2 ++ Dockerfile | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f6c3e8f..dc5caaa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,6 +25,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Login to image repository uses: docker/login-action@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4eb92b8..e91ed11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set Up QEMU uses: docker/setup-qemu-action@v3 diff --git a/Dockerfile b/Dockerfile index a8a36f5..38aec29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,6 @@ COPY go.mod . COPY go.sum . RUN go mod download -RUN apt-get update && apt-get -y install git - COPY . . COPY --from=flutter /app/build/web ./ui/build/web/