A docker image that can be used to run Laravel applications.
This repository is automatically built and pushed to Docker Hub using Docker Automated Builds.
You can set up your own automated builds by following the steps below.
- Go to your repository in Docker Hub. If you don't have one yet, create one.
- Open the
Builds
tab. - Add the repo from GitHub or Bitbucket.
- Configure the build settings:
Autotest
will test the build (not deploy it) whenever you trigger the selected action.Repository links
will trigger a build when one of the used base images (FROM ...
) is updated.Build rules
will determine when to build the image:- You probably want to keep the
latest
tag when pushing tomain
/master
. - You can add a tag by regex, for example
^[\d.]+
to match1.0.0
and1.0.1-dev
(Click onView example build rules
for more examples).
- You probably want to keep the
- Now when you push to master on GitHub, it will automatically build and push the selected image to Docker Hub under the
latest
tag. When you create a tag, it will build and push the selected image to Docker Hub under the tag that matches the regex output (capture group or whole tag). - You can also trigger a build manually by clicking
Trigger
on theBuilds
page