Skip to content

Commit

Permalink
Bump pipeline from 1.20.0 to 1.20.0
Browse files Browse the repository at this point in the history
Bumps pipeline from 1.20.0 to 1.20.0.

Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
paketo-bot authored Mar 24, 2022
1 parent 4650fc3 commit d05cc7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand All @@ -169,21 +164,14 @@ 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}" \
--config "${HOME}"/package.toml \
--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 }}
Expand Down Expand Up @@ -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 }}
16 changes: 2 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand All @@ -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}" \
Expand All @@ -163,7 +151,7 @@ jobs:
fi
env:
FORMAT: image
PACKAGES: test1 test2
PACKAGE: test
VERSION: ${{ steps.version.outputs.version }}
unit:
name: Unit Test
Expand Down

0 comments on commit d05cc7a

Please sign in to comment.