Container image definitions for the TSSC project
Defines the base TSSC container image, from which all other TSSC images derive.
Defines a Java 8 base container image, built on top of tssc-base
, from which many TSSC tool images derive.
Defines a jenkins agent as a sidecar for the tssc-tool-*
containers. Built from tssc-base-java-8
.
Defines an ArgoCD container image. Built from tssc-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 buildah container image. Built from tssc-base
.
Defines a config-lint container image. Built from tssc-base
.
Defines a maven container image. Built from tssc-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 tssc-base.
Defines a skopeo container image. Built from tssc-base
.
Defines a sonar-scanner container image. Built from tssc-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/tssc.
- schedule
- everyday at 10:00am
- push
- branches
master
- tags
v*.*.*
- pull_request
- branches
- tssc-base
- tssc-ci-agent-jenkins
- tssc-tool-argocd
- tssc-tool-config-lint
- tssc-tool-maven
- tssc-tool-openscap
- tssc-tool-skopeo
- tssc-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 tssc-base tssc-base
podman build --build-arg FROM_IMAGE=tssc-base --tag tssc-base-java-8 tssc-base-java-8
podman build --build-arg FROM_IMAGE=tssc-base-java-8 --tag tssc-ci-agent-jenkins tssc-ci-agent-jenkins
podman build --build-arg FROM_IMAGE=tssc-base --tag tssc-tool-argocd tssc-tool-argocd
podman build --build-arg FROM_IMAGE=tssc-base --tag tssc-tool-buildah tssc-tool-buildah
podman build --build-arg FROM_IMAGE=tssc-base --tag tssc-tool-config-lint tssc-tool-config-lint
podman build --build-arg FROM_IMAGE=tssc-base-java-8 --tag tssc-tool-maven tssc-tool-maven
podman build --build-arg FROM_IMAGE=tssc-tool-buildah --tag tssc-tool-openscap tssc-tool-openscap
podman build --build-arg FROM_IMAGE=tssc-base --tag tssc-tool-skopeo tssc-tool-skopeo
podman build --build-arg FROM_IMAGE=tssc-base --tag tssc-tool-sonar tssc-tool-sonar
TODO
Steps for manually publishing the images that need to be manually published.
- tssc-tool-buildah
- tssc-tool-openscap
Setup steps.
yum -y install podman, buildah
./manual-publish.sh
or
./manual-publish.sh edge tssc
or
./manual-publish.sh edge tssc 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 tssc quay.io
- ex: