Skip to content

Commit

Permalink
Misc whitespace and consistency fixups (#7)
Browse files Browse the repository at this point in the history
* Remove some trailing whitespace in the yaml

* Remove some blank lines

* Remove = char in ec params
Tested at: https://github.com/seanconroy2021/actiondemo/actions/runs/5949503195/job/16135411645
  • Loading branch information
simonbaird authored Aug 23, 2023
1 parent f782307 commit 1681874
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: 'EC-validator'
description: To run ec against a particular container image built by RHTAP

inputs:


image:
description: The image reference
required: true
Expand All @@ -23,27 +21,24 @@ inputs:
issuer:
description: The OIDC issuer for validation
required: false

extra-params:
description: This is to add some extra arguments into ec.
required: false



runs:
using: composite

steps:

- name: Run EC Validate
- name: Run EC Validate
uses: docker://quay.io/hacbs-contract/ec-cli:snapshot
with:
args: >
validate image
validate image
--policy "${{ inputs.policy }}"
--image "${{ inputs.image }}"
--public-key "${{ inputs.key }}"
--certificate-identity-regexp="${{ inputs.identity }}"
--certificate-oidc-issuer="${{ inputs.issuer }}"
--certificate-identity-regexp "${{ inputs.identity }}"
--certificate-oidc-issuer "${{ inputs.issuer }}"
${{ inputs.extra-params }}
--output yaml
--output yaml

0 comments on commit 1681874

Please sign in to comment.