Skip to content

Commit

Permalink
Merge pull request #97 from paketo-buildpacks/update/pipeline
Browse files Browse the repository at this point in the history
Bump pipeline from 1.11.0 to 1.11.0
  • Loading branch information
Daniel Mikusa authored Oct 8, 2021
2 parents bfbb85d + fd56a63 commit 5006d78
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
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) && (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 }}
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-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- uses: actions/checkout@v2
- id: dependency
uses: docker://ghcr.io/paketo-buildpacks/actions/gradle-dependency:main
- id: buildpack
name: Update Buildpack Dependency
- name: Update Buildpack Dependency
id: buildpack
run: |
#!/usr/bin/env bash
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 5006d78

Please sign in to comment.