Cleanup dockerignore and readme
All checks were successful
continuous-integration/woodpecker the build was successful

This commit is contained in:
Chris 2021-12-03 21:22:52 +01:00
parent 543b6f4662
commit 75fdf4181e
2 changed files with 17 additions and 1 deletions

View File

@ -1,2 +1,7 @@
/.* /.*
/vendor
/tests
/Dockerfile
/phpunit.xml
/README.md

View File

@ -3,6 +3,17 @@
This is a repository with an example application to test a custom docker pipeline This is a repository with an example application to test a custom docker pipeline
using Gitea, Woodpecker and a private registry. 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 - Builds image from Dockerfile, tags the image and pushes to repo
Define your secrets as:
- `DOCKER_USERNAME`
- `DOCKER_PASSWORD`