Skip to content

Add Cloud Native Buildpacks #14

Add Cloud Native Buildpacks

Add Cloud Native Buildpacks #14

Workflow file for this run

# SPDX-License-Identifier: MIT
name: Buildpacks
on:
push:
branches:
- main
- feature/**
paths-ignore:
- '**.md'
- '.gitignore'
env:
PACK_VERSION: 0.31.0
TASK_VERSION: 3.x
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pack
uses: buildpacks/github-actions/[email protected]
with:
pack-version: ${{ env.PACK_VERSION }}
- name: Setup Task
uses: arduino/setup-task@v1
with:
version: ${{ env.TASK_VERSION }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Pack build tiny
run: |
set -euo pipefail
task pack:build:tiny
docker run --rm ghcr.io/ffurrer2/semver:paketo-tiny version
- name: Pack build base
run: |
set -euo pipefail
task pack:build:base
docker run --rm ghcr.io/ffurrer2/semver:paketo-base version
- name: Pack build full
run: |
set -euo pipefail
task pack:build:full
docker run --rm ghcr.io/ffurrer2/semver:paketo-full version
- name: Pack build static
run: |
set -euo pipefail
task pack:build:static
docker run --rm ghcr.io/ffurrer2/semver:paketo-static version
- name: Pack build google
run: |
set -euo pipefail
task pack:build:google
docker run --rm ghcr.io/ffurrer2/semver:google-v1 version