No description
Find a file
Chris Routh 043679de9e
Some checks failed
linter.yml / Merge pull request 'releases/v1.0.5' (#6) from releases/v1.0.5 into main (push) Failing after 0s
Continuous Integration / Test only specifying Dockerfile path (push) Has been cancelled
Continuous Integration / Test only specifying Dockerfile path containing trailing slash (push) Has been cancelled
Continuous Integration / Test only specifying Dockerfile build context (push) Has been cancelled
Merge pull request 'releases/v1.0.5' (#6) from releases/v1.0.5 into main
Reviewed-on: https://forgejo.home.routh.ca/actions/container-buildkit-build/pulls/6
2025-07-23 08:09:04 -07:00
.forgejo Update ci 2025-07-22 20:23:46 -07:00
tests releases/v1 of new Kaniko based action for container runners (#1) 2025-07-19 17:30:35 -07:00
.gitattributes Initial commit 2025-02-05 06:43:58 -08:00
.gitignore Initial commit 2025-02-05 06:43:58 -08:00
.prettierrc.json Initial commit 2025-02-05 06:43:58 -08:00
action.yml Fix output 2025-07-23 07:49:19 -07:00
buildkit-auth-gen.sh Apparently busy box truncate doesn't support that. 2025-07-23 08:06:13 -07:00
buildkit-build.sh No echo 2025-07-21 06:49:59 -07:00
CODEOWNERS Initial commit 2025-02-05 06:43:58 -08:00
LICENSE Initial commit 2025-02-05 06:43:58 -08:00
README.md Switch to BuildKit 2025-07-20 11:39:23 -07:00

Container Backed OCI Container Build Action Based on BuildKit

[CI]

This action builds an OCI compatible container image on a container based runner using the BuildKit tool.

Note

Pending

Usage

Here's an example of how to use this action in a workflow file:

name: Example Workflow

on: push

jobs:
  build:
    name: Build Container and Publish
    runs-on: buildkit
    steps:
      # Change @main to a specific commit SHA or version tag, e.g.:
      # actions/container-buildkit-build@e76147da8e5c81eaf017dede5645551d4b94427b
      # actions/container-buildkit-build@v1.2.3
      - name: Build Container with Buildx
        id: build
        uses: actions/container-buildkit-build@main
        with:
          dockerfile_path: buildkit/git
          image_subpath: buildkit
          image_path_exclude_repo: "false"
          # image_tag_suffix:
          image_version: v1.0.0
          image_latest: "true"
          # image_platforms:
          # verify_labels: maintainer=contact@forgejo.org,org.opencontainers.image.version=7.0
          debug_build: "true"
          # registry_url:
          # registry_repository_owner:
          # registry_username:
          # registry_password:

Inputs

Input Default Description
who-to-greet World The name of the person to greet