Skip to content

Commit

Permalink
Merge pull request #19 from paketo-buildpacks/update/pipeline
Browse files Browse the repository at this point in the history
Bump pipeline from 1.10.5 to 1.11.0
  • Loading branch information
Daniel Mikusa authored Oct 26, 2021
2 parents 1b56c7f + ec55969 commit 8d2d16c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/pipeline-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.5
1.11.0
20 changes: 10 additions & 10 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }}
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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -128,23 +128,23 @@ 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
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
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -109,15 +109,15 @@ jobs:
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
4 changes: 2 additions & 2 deletions .github/workflows/update-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d2d16c

Please sign in to comment.