mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
add input for repo info
This commit is contained in:
parent
e8d8dbf1a3
commit
325efd176d
1 changed files with 10 additions and 30 deletions
40
.github/workflows/iso.yml
vendored
40
.github/workflows/iso.yml
vendored
|
|
@ -25,6 +25,14 @@ on:
|
||||||
VARIANT:
|
VARIANT:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
BUILD_REPO:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: JasonN3/container-installer
|
||||||
|
BUILD_REF:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }}
|
IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }}
|
||||||
|
|
@ -32,38 +40,10 @@ env:
|
||||||
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'base-main' }}
|
IMAGE_NAME: ${{ github.event.inputs.IMAGE_NAME || 'base-main' }}
|
||||||
IMAGE_REPO: ${{ github.event.inputs.IMAGE_REPO || 'ghcr.io/ublue-os' }}
|
IMAGE_REPO: ${{ github.event.inputs.IMAGE_REPO || 'ghcr.io/ublue-os' }}
|
||||||
VARIANT: ${{ github.event.inputs.VARIANT || 'Silverblue' }}
|
VARIANT: ${{ github.event.inputs.VARIANT || 'Silverblue' }}
|
||||||
CURR_REPO: ${{ github.action_repository || github.repository }}
|
CURR_REPO: ${{ github.event.inputs.BUILD_REPO || github.repository }}
|
||||||
CURR_REF: ${{ github.action_ref || github.ref }}
|
CURR_REF: ${{ github.event.inputs.BUILD_REF || github.ref }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dump_contexts_to_log:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Dump GitHub context
|
|
||||||
env:
|
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
||||||
run: echo "$GITHUB_CONTEXT"
|
|
||||||
- name: Dump job context
|
|
||||||
env:
|
|
||||||
JOB_CONTEXT: ${{ toJson(job) }}
|
|
||||||
run: echo "$JOB_CONTEXT"
|
|
||||||
- name: Dump steps context
|
|
||||||
env:
|
|
||||||
STEPS_CONTEXT: ${{ toJson(steps) }}
|
|
||||||
run: echo "$STEPS_CONTEXT"
|
|
||||||
- name: Dump runner context
|
|
||||||
env:
|
|
||||||
RUNNER_CONTEXT: ${{ toJson(runner) }}
|
|
||||||
run: echo "$RUNNER_CONTEXT"
|
|
||||||
- name: Dump strategy context
|
|
||||||
env:
|
|
||||||
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
|
|
||||||
run: echo "$STRATEGY_CONTEXT"
|
|
||||||
- name: Dump matrix context
|
|
||||||
env:
|
|
||||||
MATRIX_CONTEXT: ${{ toJson(matrix) }}
|
|
||||||
run: echo "$MATRIX_CONTEXT"
|
|
||||||
|
|
||||||
build-and-push-iso:
|
build-and-push-iso:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue