From afaf2d19594e78b43ceeb83a47979846f6864a3a Mon Sep 17 00:00:00 2001 From: Dominik Dancs Date: Sun, 12 May 2024 15:00:36 +0200 Subject: [PATCH] fixed workflow --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1c3cc7d..6d1e08b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -17,10 +17,10 @@ jobs: run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Get current tag - run: echo "RELEASE_VERSION_1=$(echo $RELEASE_VERSION | cut '.' -f1)" >> $GITHUB_ENV + run: echo "RELEASE_VERSION_1=$(echo ${{ env.RELEASE_VERSION }} | cut '.' -f1)" >> $GITHUB_ENV - name: Get current tag - run: echo "RELEASE_VERSION_2=$(echo $RELEASE_VERSION | cut '.' -f1,2)" >> $GITHUB_ENV + run: echo "RELEASE_VERSION_2=$(echo ${{ env.RELEASE_VERSION }} | cut '.' -f1,2)" >> $GITHUB_ENV - name: Build the Docker image run: |