Browse Source

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

Thorsten Eckel 5 years ago
parent
commit
48f639ab52

+ 2 - 0
.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

+ 2 - 0
.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