Skip to content

redhat-documentation/openshift-docs-build-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

openshift-build-tools

Dockerfile with tools to validate and build openshift-docs AsciiDoc files.

Build image and push to quay.io

podman login registry.redhat.io

podman login quay.io/redhat-docs

podman rmi quay.io/redhat-docs/openshift-docs-asciidoc:multiarch

podman rmi localhost/openshift-docs-asciidoc:multiarch

podman build -t openshift-docs-asciidoc:latest --platform linux/amd64 -f asciidoc.Dockerfile

podman tag <commit_hash> quay.io/redhat-docs/openshift-docs-asciidoc:latest

podman push quay.io/redhat-docs/openshift-docs-asciidoc:latest

bccutil-prow

podman build -t openshift-docs-bccutil:latest --platform linux/amd64 -f bccutil-prow.Dockerfile

podman tag <commit-hash> quay.io/redhat-docs/openshift-docs-bccutil:latest

podman push quay.io/redhat-docs/openshift-docs-bccutil:latest

Multiarch build

podman rmi quay.io/redhat-docs/openshift-docs-asciidoc:latest

podman rmi localhost/openshift-docs-asciidoc:latest

podman build --platform linux/arm64 --tag quay.io/redhat-docs/openshift-docs-asciidoc:multiarch -f asciidoc.Dockerfile

podman tag <commit_hash> quay.io/redhat-docs/openshift-docs-asciidoc:multiarch

podman push quay.io/redhat-docs/openshift-docs-asciidoc:multiarch

The image is available from https://quay.io/repository/redhat-docs/openshift-docs-asciidoc?tab=tags&tag=latest

To use it, podman pull quay.io/redhat-docs/openshift-docs-asciidoc.

Testing

podman run --rm -it -v "$(pwd)":~/ocpd-src:Z <commit_hash> sh -c 'asciidoctor -v'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published