Container image definitions for the Ploigos project
Defines the base Ploigos container image, from which all other Ploigos images derive.
Defines a Java 8 base container image, built on top of ploigos-base
, from which many Ploigos tool images derive.
Defines a jenkins agent as a sidecar for the ploigos-tool-*
containers. Built from ploigos-base-java-8
.
Defines an ArgoCD container image. Built from ploigos-base
.
NOTE: This image is not automatically built by GitHub actions because it requires to be built on a subscribed RHEL 8 machine.
Defines a ci tools container that has tools for working with containers.
- buildah
- podman
- skopeo
Defines a config-lint container image. Built from ploigos-base
.
Defines a maven container image. Built from ploigos-base-java-8
.
NOTE: This image is not automatically built by GitHub actions because it requires to be built on a subscribed RHEL 8 machine.
Defines an OpenSCAP based image scanning container image. Built from ploigos-base.
Defines a sonar-scanner container image. Built from ploigos-base
.
The following github events to this repository will cause the publish GitHub workflow to kick off which will build, test, publish the images (that can) to quay.io/ploigos.
- schedule
- everyday at 10:00am
- push
- branches
main
- tags
v*.*.*
- pull_request
- branches
- ploigos-base
- ploigos-ci-agent-jenkins
- ploigos-tool-argocd
- ploigos-tool-config-lint
- ploigos-tool-maven
- ploigos-tool-openscap
- ploigos-tool-sonar
The following commands can be used for building these images locally
# Run these commands from the directory where this repository was cloned
podman build --tag ploigos-base ploigos-base
podman build --build-arg FROM_IMAGE=ploigos-base --tag ploigos-tool-helm ploigos-tool-helm
podman build --build-arg FROM_IMAGE=ploigos-base --tag ploigos-base-java-8 ploigos-base-java-8
podman build --build-arg FROM_IMAGE=ploigos-base-java-8 --tag ploigos-ci-agent-jenkins ploigos-ci-agent-jenkins
podman build --build-arg FROM_IMAGE=ploigos-base --tag ploigos-tool-argocd ploigos-tool-argocd
podman build --build-arg FROM_IMAGE=ploigos-base --tag ploigos-tool-containers ploigos-tool-containers
podman build --build-arg FROM_IMAGE=ploigos-base --tag ploigos-tool-config-lint ploigos-tool-config-lint
podman build --build-arg FROM_IMAGE=ploigos-base-java-8 --tag ploigos-tool-maven ploigos-tool-maven
podman build --build-arg FROM_IMAGE=ploigos-tool-containers --tag ploigos-tool-openscap ploigos-tool-openscap
podman build --build-arg FROM_IMAGE=ploigos-base --tag ploigos-tool-sonar ploigos-tool-sonar
TODO
Steps for manually publishing the images that need to be manually published.
- ploigos-tool-containers
- ploigos-tool-openscap
Setup steps.
yum -y install podman, buildah
./manual-publish.sh
or
./manual-publish.sh edge ploigos
or
./manual-publish.sh edge ploigos quay.io
./manual-publish.sh edge $QUAY_USER_NAME
or
./manual-publish.sh edge $QUAY_USER_NAME quay.io
./manual-publish.sh v1.0.0
- tag this repository with the release version
- ex:
v1.42.0
- NOTE: must start with
v
- ex:
- manually publish the images that can't be automatically published
- ex:
./manual-publish.sh v1.42.0 ploigos quay.io
- ex: