mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
use inputs context
This commit is contained in:
parent
b8a231aae8
commit
c988899fc1
1 changed files with 7 additions and 9 deletions
16
.github/workflows/iso.yml
vendored
16
.github/workflows/iso.yml
vendored
|
|
@ -35,11 +35,13 @@ on:
|
||||||
default: main
|
default: main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }}
|
IMAGE_VERSION: ${{ inputs.IMAGE_VERSION || '39' }}
|
||||||
IMAGE_ARCH: ${{ github.event.inputs.IMAGE_ARCH || 'x86_64' }}
|
IMAGE_ARCH: ${{ inputs.IMAGE_ARCH || 'x86_64' }}
|
||||||
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'base-main' }}
|
IMAGE_NAME: ${{ inputs.IMAGE_NAME || 'base-main' }}
|
||||||
IMAGE_REPO: ${{ github.event.inputs.IMAGE_REPO || 'ghcr.io/ublue-os' }}
|
IMAGE_REPO: ${{ inputs.IMAGE_REPO || 'ghcr.io/ublue-os' }}
|
||||||
VARIANT: ${{ github.event.inputs.VARIANT || 'Silverblue' }}
|
VARIANT: ${{ inputs.VARIANT || 'Silverblue' }}
|
||||||
|
CURR_REPO: ${{ inputs.BUILD_REPO || github.repository }}
|
||||||
|
CURR_REF: ${{ inputs.BUILD_REF || github.ref }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push-iso:
|
build-and-push-iso:
|
||||||
|
|
@ -50,10 +52,6 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
env:
|
|
||||||
CURR_REPO: ${{ github.event.inputs.BUILD_REPO || github.repository }}
|
|
||||||
CURR_REF: ${{ github.event.inputs.BUILD_REF || github.ref }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install make and git
|
- name: Install make and git
|
||||||
run: dnf install -y make git
|
run: dnf install -y make git
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue