Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Bump pipeline from 1.11.0 to 1.11.0 #61

Merged
merged 1 commit into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-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