github-actions

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2020 License: Apache-2.0

README

GitHub Actions

github-actions is a collection of end-user GitHub Actions that integrate with Cloud Native Buildpacks projects.

Registry Action

The registry action adds and yanks buildpack releases in the Buildpack Registry Index.

Add
uses: docker://ghcr.io/buildpacks/actions/registry
with:
  token:   ${{ secrets.IMPLEMENTATION_PAT }}
  id:      $buildpacksio/test-buildpack
  version: {{ steps.deploy.outputs.version }}
  address: index.docker.io/buildpacksio/test-buildpack@${{ steps.deploy.outputs.digest }}
Parameter Description
token A GitHub token with public_repo scope to open an issue against buildpacks/registry-index.
id A buildpack id that your user is allowed to manage. This is must be in {namespace}/{name} format.
version The version of the buildpack that is being added to the registry.
address The Docker URI of the buildpack artifact. This is must be in {host}/{repo}@{digest} form.
Yank
uses: docker://ghcr.io/buildpacks/actions/registry
with:
  token:   ${{ secrets.IMPLEMENTATION_PAT }}
  id:      buildpacksio/test-buildpack
  version: ${{ steps.deploy.outputs.version }}
  yank:    true
Parameter Description
token A GitHub token with public_repo scope to open an issue against buildpacks/registry-index.
id A buildpack id that your user is allowed to manage. This is must be in {namespace}/{name} format.
version The version of the buildpack that is being added to the registry.
yank true if this version should be yanked.

License

This library is released under version 2.0 of the Apache License.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL