Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ inputs:
required: false
default: apk.cgr.dev

install-only:
description: |
Only download the chainctl binary for the appropriate environment.
Do not authenticate. It is the responsibility of callers to later
call `chainctl auth login`.
required: false
default: false

runs:
using: "composite"

Expand Down Expand Up @@ -113,7 +121,7 @@ runs:

- name: Authenticate with Chainguard (assumed identity)
shell: bash
if: ${{ inputs.identity != '' }}
if: ${{ inputs.identity != '' && !inputs.install-only }}
env:
CHAINCTL_DEBUG: "true"
VERBOSITY: ${{ inputs.verbosity }}
Expand Down Expand Up @@ -152,7 +160,7 @@ runs:

- name: Authenticate with Chainguard (DEPRECATED invite-code)
shell: bash
if: ${{ inputs.invite-code != '' }}
if: ${{ inputs.invite-code != '' && !inputs.install-only }}
env:
CHAINGUARD_INVITE_CODE: ${{ inputs.invite-code }}
CHAINCTL_DEBUG: "true"
Expand Down