From d05cc7a2e8c9453a26625e6c8d3bcbc2dd7e5428 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Thu, 24 Mar 2022 12:15:45 +0000 Subject: [PATCH] Bump pipeline from 1.20.0 to 1.20.0 Bumps pipeline from 1.20.0 to 1.20.0. Signed-off-by: GitHub --- .github/workflows/create-package.yml | 18 +++--------------- .github/workflows/tests.yml | 16 ++-------------- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index 2c8dc85..fe009bb 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -147,16 +147,11 @@ jobs: VERSION: ${{ steps.version.outputs.version }} - name: Package Buildpack id: package - run: |- + run: | #!/usr/bin/env bash set -euo pipefail - - PACKAGE_LIST=($PACKAGES) - # Extract first repo (Docker Hub) as the main to package & register - PACKAGE=${PACKAGE_LIST[0]} - if [[ "${PUBLISH:-x}" == "true" ]]; then pack buildpack package \ "${PACKAGE}:${VERSION}" \ @@ -169,13 +164,6 @@ jobs: fi crane tag "${PACKAGE}:${VERSION}" latest echo "::set-output name=digest::$(crane digest "${PACKAGE}:${VERSION}")" - - for P in $PACKAGE_LIST - do - if [ "$P" != "$PACKAGE" ]; then - crane copy "${PACKAGE}:${VERSION}" "${P}:${VERSION}" - fi - done else pack buildpack package \ "${PACKAGE}:${VERSION}" \ @@ -183,7 +171,7 @@ jobs: --format "${FORMAT}" fi env: - PACKAGES: index.docker.io/paketobuildpacks/pipeline-builder-canary gcr.io/paketo-buildpacks/pipeline-builder-canary + PACKAGE: "" PUBLISH: "true" VERSION: ${{ steps.version.outputs.version }} VERSION_MAJOR: ${{ steps.version.outputs.version-major }} @@ -213,7 +201,7 @@ jobs: - if: ${{ true }} uses: docker://ghcr.io/buildpacks/actions/registry/request-add-entry:4.0.1 with: - address: index.docker.io/paketobuildpacks/pipeline-builder-canary@${{ steps.package.outputs.digest }} + address: '@${{ steps.package.outputs.digest }}' id: paketo-buildpacks/pipeline-builder-canary token: ${{ secrets.JAVA_GITHUB_TOKEN }} version: ${{ steps.version.outputs.version }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 053466f..4786006 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -126,16 +126,11 @@ jobs: OS: linux VERSION: ${{ steps.version.outputs.version }} - name: Package Buildpack - run: |- + run: | #!/usr/bin/env bash set -euo pipefail - - PACKAGE_LIST=($PACKAGES) - # Extract first repo (Docker Hub) as the main to package & register - PACKAGE=${PACKAGE_LIST[0]} - if [[ "${PUBLISH:-x}" == "true" ]]; then pack buildpack package \ "${PACKAGE}:${VERSION}" \ @@ -148,13 +143,6 @@ jobs: fi crane tag "${PACKAGE}:${VERSION}" latest echo "::set-output name=digest::$(crane digest "${PACKAGE}:${VERSION}")" - - for P in $PACKAGE_LIST - do - if [ "$P" != "$PACKAGE" ]; then - crane copy "${PACKAGE}:${VERSION}" "${P}:${VERSION}" - fi - done else pack buildpack package \ "${PACKAGE}:${VERSION}" \ @@ -163,7 +151,7 @@ jobs: fi env: FORMAT: image - PACKAGES: test1 test2 + PACKAGE: test VERSION: ${{ steps.version.outputs.version }} unit: name: Unit Test