Skip to content

Commit

Permalink
.github: fetch tags for image build.
Browse files Browse the repository at this point in the history
If we build images from a shallow clone, git describe isn't able
to determine a descriptive version derived from the latest tag.
Therefore fetch full history with all tags for image builds.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Apr 16, 2024
1 parent 709f29f commit a363cbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build images
run: make images
Expand Down

0 comments on commit a363cbb

Please sign in to comment.