We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 856a15d commit 6b52125Copy full SHA for 6b52125
.github/workflows/image.yml
@@ -19,6 +19,13 @@ jobs:
19
- uses: actions/checkout@v4
20
with:
21
submodules: 'recursive'
22
+ fetch-depth: 0
23
+ - run: |
24
+ # BUG: HEAD tag is fetched as lightweight instead of annotated
25
+ # https://github.com/actions/checkout/issues/290
26
+ if [ "${{ github.ref_type }}" == "tag" ]; then
27
+ git fetch -f origin ${{ github.ref }}:${{ github.ref }}
28
+ fi
29
- uses: DeterminateSystems/nix-installer-action@v14
30
- uses: DeterminateSystems/magic-nix-cache-action@v8
31
- name: Login to Docker Hub
0 commit comments