1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

move env inside job

This commit is contained in:
Jason N 2024-02-15 09:35:12 -05:00 committed by GitHub
parent 9d5ef0c115
commit b8a231aae8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
overwrite: true