Skip to content

Commit

Permalink
Prepare RHEL workflow for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Feb 14, 2024
1 parent 37bc584 commit dc93826
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/images_build_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ on:
- '!**/README.md'
- '.github/workflows/images_build_rhel.yml'
workflow_dispatch:
inputs:
publish_images:
description: 'Publish images'
required: true
default: false
type: boolean

defaults:
run:
Expand All @@ -23,7 +29,7 @@ permissions:
contents: read

env:
AUTO_PUSH_IMAGES: ${{ contains(fromJSON('["workflow_dispatch", "push"]'), github.event_name) && 'false' || vars.AUTO_PUSH_IMAGES }}
AUTO_PUSH_IMAGES: ${{ github.event.inputs.publish_images }}

LATEST_BRANCH: ${{ github.event.repository.default_branch }}
TRUNK_GIT_BRANCH: "refs/heads/trunk"
Expand Down

0 comments on commit dc93826

Please sign in to comment.