Files
Docker-Chevereto/README.md
2021-06-10 14:59:11 -04:00

2.0 KiB

container-builder

Dockerfile template project for building and distributing container images for Chevereto (ahead) releases to any container registry.

Note

Do not publish the generated image to a public access registry as it contains your licensed installation files (including your key).

🧐 Handle it with care or your license details could be stolen.

GitHub Setup

Key Description
CHEVERETO_LICENSE Chevereto license key
REGISTRY_IMAGE Image to be build (at), owner/chevereto-build
REGISTRY_LABEL ghcr.io/owner, docker.io, quay.io
REGISTRY_PASSWORD Password (registry access token)
REGISTRY_USERNAME Username for container registry

This repo uses RedHat Actions buildah-build, podman-login and push-to-registry.

Custom application

You can use the following repository secrets for your custom application:

Key Description
REPO_APP Repository for the application as owner/repo
REPO_APP_ACCESS_TOKEN Personal Access Token for the above

Creating Builds

  • Go to "Actions"
  • Run the workflow accordingly the wanted image

The build will be available at your target container registry.

Manual setup

For custom application, put the contents in the /chevereto folder before building the image.

docker build -t tag . -f httpd-php.Dockerfile --build-arg CHEVERETO_LICENSE=<license>