Skip to content

Commit

Permalink
Fix: build Docker image with unshallow copy (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran authored Dec 20, 2023
2 parents 96e8f16 + d239001 commit 6a6ab04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-python@v5
with:
python-version-file: .github/workflows/.python-version
Expand Down

0 comments on commit 6a6ab04

Please sign in to comment.