diff --git a/.github/workflows/httpd-php.yml b/.github/workflows/httpd-php.yml index 7fd1a8f..2ca3473 100644 --- a/.github/workflows/httpd-php.yml +++ b/.github/workflows/httpd-php.yml @@ -1,11 +1,6 @@ name: Build and Push httpd-php on: workflow_dispatch: - inputs: - logLevel: - description: 'Log level' - required: true - default: 'warning' jobs: build: @@ -19,7 +14,7 @@ jobs: id: build-image uses: redhat-actions/buildah-build@v2 with: - image: my-chevereto + image: ${{ secrets.REGISTRY_IMAGE }} tags: latest ${{ github.sha }} dockerfiles: | ./httpd-php.Dockerfile diff --git a/README.md b/README.md index c5e7ed2..29a63c2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # docker-builder -Dockerfile template project for building container images for Chevereto (ahead) releases + +Dockerfile template project for building and distributing container images for Chevereto (ahead) releases. + +## Instructions + +### GitHub + +- 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), `chevereto-build` | +| REGISTRY_LABEL | `ghcr.io/owner`, `hub.docker.com/owner`, `quay.io` | +| REGISTRY_PASSWORD | Password (registry access token) | +| REGISTRY_USERNAME | Username for container registry | + +This repo uses RedHat Actions [buildah-build](https://github.com/redhat-actions/buildah-build), [podman-login](https://github.com/redhat-actions/podman-login) and [](https://github.com/redhat-actions/push-to-registry).