diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index c312392..9b5c502 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -9,8 +9,8 @@ jobs: runs-on: - ubuntu-latest steps: - - if: ${{ (github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork) && (github.actor != 'dependabot[bot]') }} - name: Docker login gcr.io + - name: Docker login gcr.io + if: ${{ (github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork) && (github.actor != 'dependabot[bot]') }} uses: docker/login-action@v1 with: password: ${{ secrets.JAVA_GCLOUD_SERVICE_ACCOUNT_KEY }} @@ -64,8 +64,8 @@ jobs: | tar -C "${HOME}"/bin -xz pack env: PACK_VERSION: 0.18.1 - - if: ${{ false }} - name: Enable pack Experimental + - name: Enable pack Experimental + if: ${{ false }} run: | #!/usr/bin/env bash @@ -84,8 +84,8 @@ jobs: ${{ env.HOME }}/.pack ${{ env.HOME }}/carton-cache restore-keys: ${{ runner.os }}-go- - - id: version - name: Compute Version + - name: Compute Version + id: version run: | #!/usr/bin/env bash @@ -128,15 +128,15 @@ jobs: INCLUDE_DEPENDENCIES: "false" OS: linux VERSION: ${{ steps.version.outputs.version }} - - id: package - name: Package Buildpack + - name: Package Buildpack + id: package run: | #!/usr/bin/env bash set -euo pipefail if [[ -n "${PUBLISH+x}" ]]; then - pack package-buildpack \ + pack buildpack package \ "${PACKAGE}:${VERSION}" \ --config "${HOME}"/package.toml \ --publish @@ -144,7 +144,7 @@ jobs: 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}" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0ef32a7..4bae961 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,8 +39,8 @@ jobs: | tar -C "${HOME}"/bin -xz pack env: PACK_VERSION: 0.18.1 - - if: ${{ false }} - name: Enable pack Experimental + - name: Enable pack Experimental + if: ${{ false }} run: | #!/usr/bin/env bash @@ -58,8 +58,8 @@ jobs: ${{ env.HOME }}/.pack ${{ env.HOME }}/carton-cache restore-keys: ${{ runner.os }}-go- - - id: version - name: Compute Version + - name: Compute Version + id: version run: | #!/usr/bin/env bash @@ -109,7 +109,7 @@ jobs: set -euo pipefail if [[ -n "${PUBLISH+x}" ]]; then - pack package-buildpack \ + pack buildpack package \ "${PACKAGE}:${VERSION}" \ --config "${HOME}"/package.toml \ --publish @@ -117,7 +117,7 @@ jobs: 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}" diff --git a/.github/workflows/update-pipeline.yml b/.github/workflows/update-pipeline.yml index 6779037..0f5f54f 100644 --- a/.github/workflows/update-pipeline.yml +++ b/.github/workflows/update-pipeline.yml @@ -25,8 +25,8 @@ jobs: GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/pipeline-builder/cmd/octo - uses: actions/checkout@v2 - - id: pipeline - name: Update Pipeline + - name: Update Pipeline + id: pipeline run: | #!/usr/bin/env bash