Commit Graph

21 Commits

Author SHA1 Message Date
Ed Morley 03188e3daf
Move tool installation from `setup-pack` to a new `setup-tools` action
Previously the `setup-pack` action installed not only the Pack CLI, but also
three additional tools: `crane`, `jq` and `yj`.

These additional tools are only needed in a subset of cases, however there was
no way to prevent their installation.

Now, the `setup-pack` action only installs the Pack CLI, and a new `setup-tools`
action has been added, which installs `crane` and `yj`. This new action does not
install `jq` (unlike the previous `setup-pack` implementation), since `jq` is already
installed in all of GitHub Actions' base images.

In addition, the default versions of tools have been bumped as follows:
- `crane`: `0.6.0` -> `0.12.1`
- `yj`: `5.0.0` -> `5.1.0`

Closes #121.

Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
2022-12-30 12:32:07 +00:00
Joe Kutner 2cc27c7baa
Add CII badge to readme
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
2021-04-20 14:47:02 -05:00
Jonas Hecht 3db0b1cd58 Adding version to buildpacks/github-actions/setup-pack
See https://github.com/buildpacks/github-actions/issues/37. Using the pinned version my build https://github.com/jonashackt/spring-boot-buildpack/runs/2146471906?check_suite_focus=true worked as expected. Using only the `@v4` resulted in [the following error](https://github.com/jonashackt/spring-boot-buildpack/runs/2146458399?check_suite_focus=true):
```
Error: Unable to resolve action `buildpacks/github-actions@v4`, unable to find version `v4`
```

Signed-off-by: Jonas Hecht <jonas.hecht@codecentric.de>
2021-03-23 12:05:32 +01:00
Ben Hale 4be39a64f2
Apply suggestions from code review
Signed-off-by: Ben Hale <bhale@vmware.com>

Co-authored-by: Joe Kutner <jpkutner@gmail.com>
2020-12-14 13:10:24 -08:00
Ben Hale 225b568d52
Fixes
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale 7e3dd1425f
registry-yank-entry
This change adds a registry-yank-entry action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale b3d523fb36
registry-add-entry
This change adds a registry-add-entry action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale 34788522ff
registry-verify-namespace-owner
This change adds a registry-verify-namespace-owner action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 2b6b6eb112
Renaming
This change renames a couple of actions to make room for others with similar
names.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 5927873c43
registry-compute-metadata
This change adds a registry-compute-metadata action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale c387e186dd
registry/add-entry and registry/yank-entry
This change migrates the registry action to registry/add-entry and
registry/yank-entry actions.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 5e1b3bf7a3
buildpackage/verify-metadata
This change migrates the verify-buildpackage action to a
buildpackage/verify-metadata action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:42 -08:00
Ben Hale f4b3a1168b
buildpack/compute-metadata
This change migrates the buildpack-info action to a buildpack/compute-metadata
action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:42 -08:00
Joe Kutner e3d17fd452
Update README.md
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
2020-11-05 14:22:52 -06:00
Ben Hale d15f34d58c
Update README.md
Signed-off-by: Ben Hale <bhale@vmware.com>

Co-authored-by: Joe Kutner <jpkutner@gmail.com>
2020-11-05 09:52:13 -08:00
Ben Hale 057ca21411
Verify Image Labels
This change updates the action to verify the contents via the buildpackage's
metadata label.  This improves both speed and efficiency over extracting the
buildpack.toml from the buildpackage filesystem.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-11-05 09:19:41 -08:00
Ben Hale 306174c887
Merge branch 'main' into buildpack-info 2020-11-01 05:27:08 -08:00
Ben Hale e237d57c7c
Buildpack Info Action
This change adds a buildpack-info action that parses a buildpack-info action
and exposes the contents of the [buildpack] block as output parameters.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-10-31 11:12:03 -07:00
Ben Hale 3deb138275
Documentation
This change adds documentation for for the action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-10-31 11:10:46 -07:00
Ben Hale 0735c5c0be
Registry Action
This change adds a GitHub action that facilities adding and yanking buildpacks
from the registry index.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-10-29 12:57:47 -07:00
Ben Hale 988c41812d
Project Initialization
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-10-28 13:34:48 -07:00