Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

GitHub Reusable Workflows

This repo contains shared reusable GitHub Action Workflows which are called by other repos.

Workflows are in folder .github/workflows/

Container build and publish

Container Build and Publish uses Docker's GitHub Builder to build linux/amd64 and linux/arm64 on native runners and publish a single multi-platform image. Pull requests build both platforms without publishing. Published images include OCI metadata, BuildKit provenance, and an SPDX SBOM for each platform's final image. Docker's GitHub Builder signs the attestations using GitHub OIDC, not the final multi-platform image index. The workflow does not delete image versions.

The workflow publishes to ghcr.io/<owner>/<repository> by default. Give the calling job contents: read, packages: write (to publish using GITHUB_TOKEN), and id-token: write (to sign attestations). Update existing callers before rolling out the shared workflow with signing enabled. Use dockerfile and context to select files from the triggering commit, or image_name to publish under a different GHCR image name.

Branch builds publish a branch tag. Only default-branch builds update latest, including scheduled rebuilds. A non-default branch named latest publishes as branch-latest instead. Stable SemVer tags such as v1.2.3 publish 1.2.3, 1.2, and 1; prereleases publish just their full version. The workflow disables Docker's automatic latest tagging so releases never move that tag.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors