aleskxyz/build-push

Builds Docker images, adds tags/labels/annotations, and pushes them to a registry, running rootless in ARC on Kubernetes.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
image_nameName of the Docker image to be built and pushed.yes
registry_addressURL of the container registry where the image will be pushed.yes
registry_usernameUsername for authentication with the container registry.yes
registry_passwordPassword for authentication with the container registry.yes
contextThe directory path used as the build context. Default is the current directory (`.`).no./
dockerfile_pathLocation of the Dockerfile. Defaults to `./Dockerfile`.noDockerfile
flavorSpecifies the tagging strategy. For options, see Docker Metadata Action documentation at https://github.com/docker/metadata-action?tab=readme#flavor-input. no
tagsDefines how the image is tagged. For detailed configuration, refer to Docker Metadata Action documentation at https://github.com/docker/metadata-action?tab=readme#tags-input. notype=sha type=ref,event=branch type=ref,event=pr type=schedule,pattern={{date 'YYYYMMDD-hhmmss'}} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
labelsCustom labels to apply to the built image, separated by newlines.no
annotationsAdditional annotations for the image, separated by newlines.no
archsCPU architectures to target during the build, separated by commas.no
platformsTarget platforms for the image build, separated by commas.no
build_argsBuild-time variables in the form arg_name=arg_value. Separate multiple arguments with newlines. These are passed to Docker build with --build-arg. no
buildah_extra_argsAdditional arguments for the `buildah bud` command, separated by newlines.no
ociSets the image format. true for OCI format, false for Docker format. Default is false. nofalse
push_extra_argsExtra arguments for the `podman push` command, separated by newlines.no
namedescription
push_resultJSON string with the digest and registry paths for pushed images.