Skip to content

Add pre build environment#7

Merged
edumserrano merged 1 commit intoedumserrano:mainfrom
JeroenKnoops:prebuild-oci
Dec 23, 2022
Merged

Add pre build environment#7
edumserrano merged 1 commit intoedumserrano:mainfrom
JeroenKnoops:prebuild-oci

Conversation

@JeroenKnoops
Copy link
Contributor

Build OCI image when there is a change in the main.

The OCI image will be stored in GitHub Packages.
When the action is executed, the action will use the prebuild container, which makes it a lot faster.

Related issue

Closes #6

Development

If you want to test a new feature in a branch, simple point in the action.yml to the Dockerfile again and you will have a freshly build environment again for each run.

About the container

The prebuild container has some Secure Software Supply Chain meta files attached to it. The container is signed, has a SLSA provenance file so you can prove it was created in this build pipeline, and a Software Bill of Material in SPDX format, so you can evaluate the content of the container before you want to use it.

Signed-off-by: Jeroen Knoops <jeroen.knoops@philips.com>
@JeroenKnoops
Copy link
Contributor Author

The checks will initially fail, because the first time, there is no stored package. Rerunning the checks will resolve that.

@edumserrano edumserrano merged commit 648414f into edumserrano:main Dec 23, 2022
@edumserrano edumserrano mentioned this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish prebaked oci image in github packages

2 participants