diff --git a/.github/workflows/publish-docker-cuda.yml b/.github/workflows/publish-docker-cuda.yml index c49891d..aa1cb0c 100644 --- a/.github/workflows/publish-docker-cuda.yml +++ b/.github/workflows/publish-docker-cuda.yml @@ -36,8 +36,11 @@ jobs: id: extract_version run: | VERSION=$(xmlstarlet sel -t -v "//image-tag" appinfo/info.xml) - echo "VERSION=${VERSION}" >> $GITHUB_ENV - echo "Extracted version: ${{ VERSION }}" + echo "VERSION=VERSION" >> $GITHUB_ENV + + - name: Log version + run: | + echo "Extracted version: ${{ env.VERSION }}" - name: Build container image uses: docker/build-push-action@v5 diff --git a/.github/workflows/publish-docker-rocm.yml b/.github/workflows/publish-docker-rocm.yml index 2df3b10..3aaef86 100644 --- a/.github/workflows/publish-docker-rocm.yml +++ b/.github/workflows/publish-docker-rocm.yml @@ -36,8 +36,11 @@ jobs: id: extract_version run: | VERSION=$(xmlstarlet sel -t -v "//image-tag" appinfo/info.xml) - echo "VERSION=${VERSION}" >> $GITHUB_ENV - echo "Extracted version: ${{ VERSION }}" + echo "VERSION=VERSION" >> $GITHUB_ENV + + - name: Log version + run: | + echo "Extracted version: ${{ env.VERSION }}" - name: Build container image uses: docker/build-push-action@v5