mirror of
https://github.com/chevereto/docker.git
synced 2026-02-24 15:10:45 +01:00
4a4a03e77b8dfd311e673d159bf91459b7a73aa9
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
- Click the Use this template button
- Provide the following repository secrets
| 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>
Languages
Shell
52.3%
Makefile
34.1%
Dockerfile
12.7%
HCL
0.9%