From c908c63a00617929badaf5a7a990012eaa68dd97 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Wed, 8 Jan 2025 07:08:51 +0100 Subject: [PATCH] fix: docker release workflow --- .github/workflows/trigger-finalize-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trigger-finalize-release.yml b/.github/workflows/trigger-finalize-release.yml index a2975d7..2176c82 100644 --- a/.github/workflows/trigger-finalize-release.yml +++ b/.github/workflows/trigger-finalize-release.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - name: Read current version run: | - echo "VERSION=$(grep "version=" gradle.properties | cut -d '=' -f 2)" >> $GITHUB_ENV + echo "VERSION=$(echo ${{ github.ref_name }} | cut -d '/' -f 2)" >> $GITHUB_ENV - uses: eclipse-dataspacetck/tck-common/.github/actions/publish-docker-image@main name: Publish DSP TCK Docker image (release) with: @@ -41,4 +41,4 @@ jobs: namespace: "eclipsedataspacetck" docker_user: ${{ secrets.DOCKER_HUB_USER }} docker_token: ${{ secrets.DOCKER_HUB_TOKEN }} - docker_tag: $VERSION \ No newline at end of file + docker_tag: ${{ env.VERSION }} \ No newline at end of file