No description
|
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
Reviewed-on: https://forgejo.home.routh.ca/actions/container-buildkit-build/pulls/6 |
||
|---|---|---|
| .forgejo | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .prettierrc.json | ||
| action.yml | ||
| buildkit-auth-gen.sh | ||
| buildkit-build.sh | ||
| CODEOWNERS | ||
| LICENSE | ||
| README.md | ||
Container Backed OCI Container Build Action Based on BuildKit
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 |