From 00a14011a07ca5efa8a2666bc9bf1d0f084c75bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 13 Dec 2023 11:04:06 +0100 Subject: [PATCH] Fix version checkout --- .github/workflows/docker.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0bcdc11bd255..81a1614f91f4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -40,7 +40,13 @@ jobs: bim_support: false target: all-in-one steps: - - name: Checkout + - name: Checkout current release + if: ${{ github.event_name == 'push' }} + uses: actions/checkout@v3 + - name: Checkout specific version + if: ${{ github.event_name != 'push' }} + with: + ref: ref/tags/${{ inputs.version }} uses: actions/checkout@v3 - name: Prepare docker files run: |