Add negative path

This commit is contained in:
Ben Sarmiento
2024-05-28 10:24:51 +02:00
parent 0b669c0818
commit e5f43b546a
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ jobs:
github-token: ${{ secrets.TOKEN }}
script: |
const ownerName = 'debridmediamanager';
const repoName = 'zurg${{ !contains(github.ref, '-rc.') && '-testing' }}';
const repoName = 'zurg${{ !contains(github.ref, '-rc.') && '-testing' || '' }}';
const tagName = '${{ steps.version.outputs.version }}';
const releaseName = `${tagName}`;

View File

@@ -50,7 +50,7 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}${{ !contains(github.ref, '-rc.') && '-testing' }}
ghcr.io/${{ github.repository }}${{ !contains(github.ref, '-rc.') && '-testing' || '' }}
- name: Build and push Docker image
uses: docker/build-push-action@v5