Skip to content

Commit

Permalink
Fetch all git data for embedding correct version in docker image (go-…
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick authored Jun 19, 2023
1 parent 49a77e3 commit 1a5b7c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
- run: git fetch --unshallow --quiet --tags --force
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- name: Get cleaned branch name
Expand Down

0 comments on commit 1a5b7c8

Please sign in to comment.