From 9b3cac4d00e898813dfd00d60da9f3cea436793d Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Sat, 7 Mar 2026 19:37:40 +0200 Subject: [PATCH] AI: fix extracted Linux artifacts --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4232b4..6516e98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,16 +184,18 @@ jobs: echo "RELEASE_IMAGE=ghcr.io/${GITHUB_ACTOR}/youtubeplaylistdownloader:${{ steps.version.outputs.version }}" >> $GITHUB_ENV echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/youtubeplaylistdownloader:latest" >> $GITHUB_ENV - - name: Download linux-zip artifact + - name: Download linux artifact uses: actions/download-artifact@v4 with: name: linux-zip - name: Extract linux artifact - run: tar -xzf linux-zip/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz -C . + run: | + mkdir -p dist/linux + tar -xzf linux-zip/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz -C dist/linux - name: Build Docker image (release) - run: docker build ./ -t $RELEASE_IMAGE + run: docker build dist/linux -t $RELEASE_IMAGE - name: Save Docker image as tar run: docker save -o docker-image.tar $RELEASE_IMAGE @@ -205,7 +207,7 @@ jobs: path: docker-image.tar - name: Build Docker image (latest) - run: docker build ./ --label build_as_latest=true -t $LATEST_IMAGE + run: docker build dist/linux --label build_as_latest=true -t $LATEST_IMAGE - name: Save Docker image as tar (latest) run: docker save -o docker-image-latest.tar $LATEST_IMAGE