From b8a231aae897f20a44bd1dfea5cedf6786631fe1 Mon Sep 17 00:00:00 2001 From: Jason N <33561705+JasonN3@users.noreply.github.com> Date: Thu, 15 Feb 2024 09:35:12 -0500 Subject: [PATCH] move env inside job --- .github/workflows/iso.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index 85b7f62..c1fc10c 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -40,8 +40,6 @@ 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.event.inputs.BUILD_REPO || github.repository }} - CURR_REF: ${{ github.event.inputs.BUILD_REF || github.ref }} jobs: build-and-push-iso: @@ -52,6 +50,9 @@ jobs: permissions: contents: read packages: write + env: + CURR_REPO: ${{ github.event.inputs.BUILD_REPO || github.repository }} + CURR_REF: ${{ github.event.inputs.BUILD_REF || github.ref }} steps: - name: Install make and git @@ -104,4 +105,4 @@ jobs: if-no-files-found: error retention-days: 0 compression-level: 0 - overwrite: true \ No newline at end of file + overwrite: true