fix(ci): use separate homarr-test package with pr-<N> tag
This commit is contained in:
1 parent
28d7a75b63
commit
8514df985b
2 files changed
+4
-4
No files matched your search
@@ -11,7 +11,7 @@ permissions:
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_TAG: homarr-test-pr-${{ github.event.number }}
|
||||
IMAGE_TAG: pr-${{ github.event.number }}
|
||||
|
||||
jobs:
|
||||
delete-image:
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const packageName = 'homarr';
|
||||
const packageName = 'homarr-test';
|
||||
const org = context.repo.owner;
|
||||
const tag = process.env.IMAGE_TAG;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ permissions:
|
||||
env:
|
||||
SKIP_ENV_VALIDATION: true
|
||||
REGISTRY: ghcr.io
|
||||
GHCR_REPO: ghcr.io/${{ github.repository }}
|
||||
GHCR_REPO: ghcr.io/homarr-labs/homarr-test
|
||||
TURBO_TELEMETRY_DISABLED: 1
|
||||
|
||||
concurrency:
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
with:
|
||||
images: "${{ env.GHCR_REPO }}"
|
||||
tags: |
|
||||
type=raw,value=homarr-test-pr-${{ github.event.number }}
|
||||
type=raw,value=pr-${{ github.event.number }}
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v4
|
||||
|
||||
Reference in new issue
Block a user