From a53bc74996da092292728685822476484ef48d13 Mon Sep 17 00:00:00 2001 From: GilbN <24592972+GilbN@users.noreply.github.com> Date: Sun, 20 Mar 2022 18:57:53 +0100 Subject: [PATCH] checkout release branch --- .github/workflows/docker-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index d99e7640..97b76f86 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -14,6 +14,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + ref: ${{ github.event.release.target_commitish }} - name: Get the version id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}