We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27b831c commit bff608cCopy full SHA for bff608c
.github/workflows/image.yml
@@ -18,8 +18,14 @@ jobs:
18
steps:
19
- uses: actions/checkout@v4
20
with:
21
- fetch-depth: 0
22
submodules: 'recursive'
+ 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