diff --git a/.dockerignore b/.dockerignore index b69e77b..9373181 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,7 @@ /.* +/vendor +/tests +/Dockerfile +/phpunit.xml +/README.md diff --git a/README.md b/README.md index 749d4c8..3379b7c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,17 @@ This is a repository with an example application to test a custom docker pipeline using Gitea, Woodpecker and a private registry. -- Runs phpunit against the code +Dockerfile: + +- Runs composer install in temporary container +- Launches hello, calling on a mock class + +Woodpecker: + +- Runs phpunit against the code, testing a mock function - Builds image from Dockerfile, tags the image and pushes to repo +Define your secrets as: + +- `DOCKER_USERNAME` +- `DOCKER_PASSWORD`