From 70e90ce9be611607601804240875044c888cdb80 Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Sat, 7 Mar 2026 21:18:14 +0200 Subject: [PATCH] Change Docker image name in release workflow --- .github/workflows/release.yml | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5aa32ba..67d6dae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -199,8 +199,8 @@ jobs: - name: Set docker image names run: | - 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 + echo "RELEASE_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpld:${{ steps.version.outputs.version }}" >> $GITHUB_ENV + echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpld:latest" >> $GITHUB_ENV - name: Download linux artifact uses: actions/download-artifact@v4 @@ -243,8 +243,6 @@ jobs: release: runs-on: ubuntu-latest needs: [build-windows-package, build-linux-package, build-docker-image] - env: - IMAGE_NAME: youtubeplaylistdownloader steps: - uses: actions/download-artifact@v4 with: @@ -278,8 +276,8 @@ jobs: echo "version=$VERSION" >> $GITHUB_OUTPUT - name: Set docker image names run: | - 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 + echo "RELEASE_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpld:${{ steps.version.outputs.version }}" >> $GITHUB_ENV + echo "LATEST_IMAGE=ghcr.io/${GITHUB_ACTOR}/ytpld:latest" >> $GITHUB_ENV - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: @@ -321,22 +319,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: linux-release/yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz asset_name: yt-playlist-linux-${{ steps.version.outputs.version }}.tar.gz - asset_content_type: application/gzip - - name: Upload Docker release tar - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: docker-image/docker-image.tar - asset_name: docker-image-${{ steps.version.outputs.version }}.tar - asset_content_type: application/x-tar - - name: Upload Docker latest tar - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: docker-image-latest/docker-image-latest.tar - asset_name: docker-image-latest.tar - asset_content_type: application/x-tar \ No newline at end of file + asset_content_type: application/gzip \ No newline at end of file