diff --git a/.github/workflows/publish-builder.yml b/.github/workflows/publish-builder.yml index ad73ae01b..5fa4a937e 100644 --- a/.github/workflows/publish-builder.yml +++ b/.github/workflows/publish-builder.yml @@ -17,9 +17,10 @@ jobs: IMAGETAG: ${{ github.ref_name }} steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - fetch-tags: true + - name: Fetch tag annotations + run: | + # Fetch tag manually because fetch-tags option for checkout@v4 does not work + git fetch --force --tags --depth 1 - id: build name: Build podman image run: |