diff --git a/octo/create-builder.sh b/octo/create-builder.sh index c67bfca1..737eb3df 100755 --- a/octo/create-builder.sh +++ b/octo/create-builder.sh @@ -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 diff --git a/octo/octo.go b/octo/octo.go index 600fac2d..5cd6b0a3 100644 --- a/octo/octo.go +++ b/octo/octo.go @@ -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" ) diff --git a/octo/package-buildpack.sh b/octo/package-buildpack.sh index a0746207..034de05c 100755 --- a/octo/package-buildpack.sh +++ b/octo/package-buildpack.sh @@ -3,7 +3,7 @@ set -euo pipefail if [[ -n "${PUBLISH+x}" ]]; then - pack package-buildpack \ + pack buildpack package \ "${PACKAGE}:${VERSION}" \ --config "${HOME}"/package.toml \ --publish @@ -11,7 +11,7 @@ if [[ -n "${PUBLISH+x}" ]]; then 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}"