Skip to content

chainguard-dev/setup-chainctl

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup chainctl

Test

This action installs the latest chainctl binary for a particular environment and authenticates with it using identity tokens.

Usage

- uses: chainguard-dev/setup-chainctl@[VERSION]
  with:
    # the ID of the identity this workload should assume when speaking to Chainguard APIs.
    identity: "..."

Scenarios

permissions:
  id-token: write

steps:
- uses: chainguard-dev/setup-chainctl@[VERSION]
  with:
    identity: "deadbeef/badf00d"

See Authenticating to Chainguard Registry for more information about creating an identity to pull images from cgr.dev from GitHub Actions, using setup-chainctl.

Runner Support

The action is tested to work on Linux, MacOS and Windows runners.

Note: If you use it on Windows, you must use shell: bash.