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

pass secrets

This commit is contained in:
Jason N. 2024-03-19 18:42:30 -04:00
parent e7d6621108
commit 578c751db4
3 changed files with 19 additions and 1 deletions

View file

@ -36,6 +36,9 @@ jobs:
with: with:
pr: ${{ github.event.issue.number }} pr: ${{ github.event.issue.number }}
parent_job_name: Run All Tests parent_job_name: Run All Tests
secrets:
RH_REPO: ${{ secrets.RH_REPO }}
RH_ENT: ${{ secrets.RH_ENT }}
run_build_container: run_build_container:
name: Run Build Container name: Run Build Container

View file

@ -7,6 +7,12 @@ on:
parent_job_name: parent_job_name:
required: true required: true
type: string type: string
secrets:
RH_REPO:
required: true
RH_ENT:
required: true
jobs: jobs:
build-container: build-container:
@ -100,7 +106,8 @@ jobs:
if: matrix.append == 'ubi' if: matrix.append == 'ubi'
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: JasonN3/rhel_ent repository: ${{ secrets.RH_REPO }}
token: ${{ secrets.RH_ENT }}
persist-credentials: false persist-credentials: false
path: ubi path: ubi

View file

@ -17,6 +17,11 @@ on:
parent_job_name: parent_job_name:
required: true required: true
type: string type: string
secrets:
RH_REPO:
required: true
RH_ENT:
required: true
concurrency: concurrency:
@ -30,6 +35,9 @@ jobs:
with: with:
pr: ${{ inputs.pr }} pr: ${{ inputs.pr }}
parent_job_name: ${{ inputs.parent_job_name && format('{0} / ', inputs.parent_job_name) }}Build Container parent_job_name: ${{ inputs.parent_job_name && format('{0} / ', inputs.parent_job_name) }}Build Container
secrets:
RH_REPO: ${{ secrets.RH_REPO }}
RH_ENT: ${{ secrets.RH_ENT }}
build_iso: build_iso:
name: Build ISO name: Build ISO