Skip to content

Commit

Permalink
use a boolean for fips upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rajrohanyadav committed Nov 25, 2024
1 parent bcf236b commit e910775
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/reusable_pre_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ on:
type: string
required: false
default: ""
upload_fips_packages:
description: Defines if the FIPS packages should be uploaded to S3
type: boolean
required: false
default: false
fips_publish_schema:
description: Defines the schema for the publish_action for FIPS packages. If empty, it will not publish FIPS packages.
description: Defines the schema for the publish_action for FIPS packages.
type: string
required: false
default: ""
default: "ohi-fips"
publish_schema_url_fips:
description: Defines the schema_url for the publish_action for FIPS packages (it requires fips_publish_schema='custom')
type: string
Expand Down Expand Up @@ -225,7 +230,7 @@ jobs:
gpg_passphrase: ${{ secrets.OHAI_GPG_PASSPHRASE }}
gpg_private_key_base64: ${{ secrets.OHAI_GPG_PRIVATE_KEY_BASE64 }}
- name: Publish to S3 action - fips
if: ${{ inputs.fips_publish_schema != '' }}
if: ${{ inputs.upload_fips_packages }}
uses: newrelic/infrastructure-publish-action@add-fips-schemas
with:
disable_lock: false
Expand Down

0 comments on commit e910775

Please sign in to comment.