Skip to content

Commit 2e01cc8

Browse files
committed
ci: fix secrets inherit to ee workflow call for redhat registry access
1 parent f89f05a commit 2e01cc8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ jobs:
345345
needs: rc
346346
if: needs.rc.outputs.rc == 'true'
347347
uses: ./.github/workflows/ee.yml
348+
secrets: inherit
348349

349350
build_prod_ee:
350351
name: Release EE
@@ -354,3 +355,4 @@ jobs:
354355
with:
355356
release: true
356357
release_tag: ${{ needs.release.outputs.new_release_git_tag }}
358+
secrets: inherit

.github/workflows/ee.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: Git tag for release to prepare EE
1212
type: string
1313
required: false
14+
secrets:
15+
RH_REGISTRY_USER:
16+
required: true
17+
RH_REGISTRY_TOKEN:
18+
required: true
1419
workflow_dispatch:
1520
inputs:
1621
release:

0 commit comments

Comments
 (0)