From 043b8b51550f6432199adee37057603575e8475f Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:52:43 +0000 Subject: [PATCH] use var --- .github/workflows/iso.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index a0984ce..5b41882 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -32,6 +32,8 @@ env: IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'base-main' }} IMAGE_REPO: ${{ github.event.inputs.IMAGE_REPO || 'ghcr.io/ublue-os' }} VARIANT: ${{ github.event.inputs.VARIANT || 'Silverblue' }} + CURR_REPO: ${{ github.action_repository || github.repository }} + CURR_REF: ${{ github.action_ref || github.ref }} jobs: build-and-push-iso: @@ -50,8 +52,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - repository: ${{ github.action_repository || github.repository }} - ref: ${{ github.action_ref || github.ref }} + repository: ${{ env.CURR_REPO }} + ref: ${{ env.CURR_REF }} submodules: recursive - name: Install dependencies