Add negative path
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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}`;
|
||||
|
||||
|
||||
2
.github/workflows/build_docker.yml
vendored
2
.github/workflows/build_docker.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user