-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run arbitrary commands with the action
- Loading branch information
Showing
3 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
name: "Jalapeno" | ||
description: "Run Jalapeno check on the workspace" | ||
description: "Run arbitrary Jalapeno commands" | ||
inputs: | ||
insecure: | ||
description: "Allow connections to SSL registry without certs" | ||
default: "false" | ||
required: false | ||
plain-http: | ||
description: "Allow insecure connections to registry without SSL check" | ||
default: "false" | ||
required: false | ||
ca-file: | ||
description: "Server certificate authority file for the remote registry" | ||
required: false | ||
cmd: | ||
description: "The command which should be run" | ||
required: true | ||
outputs: | ||
result: | ||
description: "stdout after running the command" | ||
exitcode: | ||
description: "Exit code of the operation" | ||
runs: | ||
using: "docker" | ||
image: "docker://ghcr.io/futurice/jalapeno:v0-githubaction" | ||
args: | ||
- check | ||
- --dir=${{ github.workspace }} | ||
- --detailed-exitcode | ||
- --insecure=${{ inputs.insecure }} | ||
- --plain-http=${{ inputs.plain-http }} | ||
- --ca-file=${{ inputs.ca-file }} | ||
- ${{ inputs.cmd }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters