From f03dce8c08f08b4373e6bb5892e3209a0624b8d2 Mon Sep 17 00:00:00 2001 From: Ben Hale Date: Thu, 29 Oct 2020 14:17:34 -0700 Subject: [PATCH] Buildpack Registry This change updates the create-package workflow to register a release with the buildpack registry index after it has been created. Signed-off-by: Ben Hale --- .github/workflows/create-package.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index 6932c5c..42346f1 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -147,3 +147,9 @@ jobs: env: DIGEST: ${{ steps.package.outputs.digest }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: docker://ghcr.io/buildpacks/actions/registry:main + with: + address: gcr.io/projectriff/java-function@${{ steps.package.outputs.digest }} + id: projectriff/java-function + token: ${{ secrets.RIFF_BUILDPACK_REGISTRY_TOKEN }} + version: ${{ steps.version.outputs.version }}