actions

ghcr.yml

Base Usage

build-and-push:
  uses: init4tech/actions/.github/workflows/ghcr.yml@main

Description

This workflow builds and pushes a Docker image to GitHub Container Registry (GHCR). It builds multi-platform images for both linux/amd64 and linux/arm64 architectures and generates artifact attestations for supply chain security.

The workflow automatically:

Required Permissions

The calling workflow must have the following permissions:

Notes