This commit is contained in:
Rodolfo Berrios
2021-06-03 14:14:25 -04:00
parent fbd0e1a6e2
commit 0d12e5dd8a
2 changed files with 20 additions and 7 deletions

View File

@@ -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

View File

@@ -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).