diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 5a56385d2..842ddcc06 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -14,6 +14,11 @@ jobs: steps: - name: checkout code uses: actions/checkout@v2 + with: + # fetch-depth: + # 0 indicates all history for all branches and tags. + # for `git describe --tags` in Makefile. + fetch-depth: 0 - name: install Go uses: actions/setup-go@v2 with: