Skip to content

Commit df6e42d

Browse files
committed
fixup, env is not allowed in workflow YAML composite action
1 parent 3787609 commit df6e42d

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/build-notebooks-TEMPLATE.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ name: Build & Publish Notebook Servers (TEMPLATE)
2828
default: false
2929
description: "add RHEL subscription from github secret"
3030
type: boolean
31+
konflux:
32+
required: false
33+
default: false
34+
description: "build from Dockerfile.konflux.* instead of Dockerfile.*"
35+
type: boolean
3136
PLATFORM_RUNNERS:
3237
required: false
3338
# language=json
@@ -259,6 +264,7 @@ jobs:
259264
CONTAINER_BUILD_CACHE_ARGS: "${{ steps.extra-container-build-args.outputs.CONTAINER_BUILD_CACHE_ARGS }}"
260265
# We don't have access to image registry for PRs, so disable pushing
261266
PUSH_IMAGES: "${{ (fromJson(inputs.github).event_name == 'pull_request' || fromJson(inputs.github).event_name == 'pull_request_target') && 'no' || 'yes' }}"
267+
KONFLUX: "${{ inputs.konflux && 'yes' || 'no' }}"
262268

263269
- name: "Show podman images information"
264270
run: podman images --digests

.github/workflows/build-notebooks-pr-aipcc.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,5 @@ jobs:
9494
platform: "${{ matrix.platform }}"
9595
# rhds/notebooks builds from AIPCC base images that are RHEL-based
9696
subscription: ${{ true }}
97-
env:
98-
KONFLUX: yes
97+
konflux: ${{ true }}
9998
secrets: inherit

.github/workflows/build-notebooks-push.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,5 @@ jobs:
7979
platform: "${{ matrix.platform }}"
8080
# rhds/notebooks builds from AIPCC base images that are RHEL-based
8181
subscription: ${{ true }}
82-
env:
83-
KONFLUX: yes
82+
konflux: ${{ true }}
8483
secrets: inherit

0 commit comments

Comments
 (0)