This repository builds and deploys the Docker image to Docker Hub on every approved pull request or on your own fork once setup.
In the repository settings, under secrets, add the following secrets:
REGISTRY_LOGIN_SERVER
: The docker registry to use (e.g. docker.io
).REGISTRY_USERNAME
: The username to use to log in to the registry (e.g. dunglas
).REGISTRY_PASSWORD
: The password to use to log in to the registry (e.g. an access key).IMAGE_NAME
: The name of the image (e.g. dunglas/frankenphp
).pr-x
, where x
is the PR number, as the tag.main
tag will be updated in the Docker registry.v1.2.3
and v1.2
will be created).latest
tag will also be updated.