From 48f639ab52da41156223398d6e0e91b9ca8c2b77 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 5 Mar 2020 11:43:50 +0100 Subject: [PATCH] Follow up - 0798e7d47ed2505ea43dccdb9c1ef867d700f720 - moved from circle ci to github actions. Can't use tags in shallow clone of repository. Ref: https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches --- .github/workflows/build-docker-compose-images.yaml | 2 ++ .github/workflows/build-docker-image.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-docker-compose-images.yaml b/.github/workflows/build-docker-compose-images.yaml index 0e56e0a44..57fd67ce6 100644 --- a/.github/workflows/build-docker-compose-images.yaml +++ b/.github/workflows/build-docker-compose-images.yaml @@ -16,5 +16,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@master + - name: Fetch all history for all tags and branches + run: git fetch --prune --unshallow - name: Build docker image run: .github/docker-image-build.sh diff --git a/.github/workflows/build-docker-image.yaml b/.github/workflows/build-docker-image.yaml index e23184c06..940f7d249 100644 --- a/.github/workflows/build-docker-image.yaml +++ b/.github/workflows/build-docker-image.yaml @@ -16,5 +16,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@master + - name: Fetch all history for all tags and branches + run: git fetch --prune --unshallow - name: Build docker image run: .github/docker-image-build.sh