From 46c037b940c06fa0cec0c8b76d5fb0d066346218 Mon Sep 17 00:00:00 2001 From: Andreas Gerstmayr Date: Wed, 7 Feb 2024 11:15:01 +0100 Subject: [PATCH] Fix prepare-release and publish-test-utils-image workflow on forks (#781) Signed-off-by: Andreas Gerstmayr --- .github/workflows/prepare-release.yaml | 2 +- .github/workflows/publish-test-utils-image.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prepare-release.yaml b/.github/workflows/prepare-release.yaml index e71314f03..6fb668664 100644 --- a/.github/workflows/prepare-release.yaml +++ b/.github/workflows/prepare-release.yaml @@ -26,7 +26,7 @@ jobs: run: make bundle env: OPERATOR_VERSION: ${{inputs.version}} - IMG_PREFIX: ghcr.io/grafana/tempo-operator + IMG_PREFIX: ghcr.io/${{ github.repository }} - name: Generate CHANGELOG run: make chlog-update diff --git a/.github/workflows/publish-test-utils-image.yaml b/.github/workflows/publish-test-utils-image.yaml index 41128e830..1260d4575 100644 --- a/.github/workflows/publish-test-utils-image.yaml +++ b/.github/workflows/publish-test-utils-image.yaml @@ -28,7 +28,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ghcr.io/grafana/tempo-operator/test-utils + images: ghcr.io/${{ github.repository }}/test-utils - name: Set up QEMU uses: docker/setup-qemu-action@v3