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