Skip to content

Commit

Permalink
Merge pull request #224 from paketo-buildpacks/bump-pack
Browse files Browse the repository at this point in the history
Bump pack from 0.15.0 to 0.18.0
  • Loading branch information
Daniel Mikusa authored Apr 20, 2021
2 parents 9a08f7a + 721bd0f commit 2775c84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions octo/create-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
set -euo pipefail

if [[ -n "${PUBLISH+x}" ]]; then
pack create-builder \
pack builder create \
"${BUILDER}:${VERSION}" \
--config builder.toml \
--publish

echo "::set-output name=digest::$(crane digest "${BUILDER}:${VERSION}")"
else
pack create-builder \
pack builder create \
"${BUILDER}:${VERSION}" \
--config builder.toml
fi
2 changes: 1 addition & 1 deletion octo/octo.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
const (
CraneVersion = "0.1.4"
GoVersion = "1.15"
PackVersion = "0.15.0"
PackVersion = "0.18.0"
RichGoVersion = "0.3.3"
YJVersion = "5.0.0"
)
Expand Down
4 changes: 2 additions & 2 deletions octo/package-buildpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
set -euo pipefail

if [[ -n "${PUBLISH+x}" ]]; then
pack package-buildpack \
pack buildpack package \
"${PACKAGE}:${VERSION}" \
--config "${HOME}"/package.toml \
--publish

crane tag "${PACKAGE}:${VERSION}" latest
echo "::set-output name=digest::$(crane digest "${PACKAGE}:${VERSION}")"
else
pack package-buildpack \
pack buildpack package \
"${PACKAGE}:${VERSION}" \
--config "${HOME}"/package.toml \
--format "${FORMAT}"
Expand Down

0 comments on commit 2775c84

Please sign in to comment.