diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a0127d..f9614fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -117,7 +117,7 @@ jobs: github-token: ${{ secrets.TOKEN }} script: | const ownerName = 'debridmediamanager'; - const repoName = '${{ github.ref.includes("-rc.") ? "zurg" : "zurg-testing" }}'; + const repoName = '${{ contains(github.ref, '-rc.') ? "zurg" : "zurg-testing" }}'; const tagName = '${{ steps.version.outputs.version }}'; const releaseName = `${tagName}`; diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index 90b2aba..d51ef53 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -50,7 +50,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ghcr.io/${{ github.repository }}${{ github.ref.contains('-rc.') ? '' : '-testing' }} + ghcr.io/${{ github.repository }}${{ contains(github.ref, '-rc.') ? '' : '-testing' }} - name: Build and push Docker image uses: docker/build-push-action@v5