From 75fdf4181e07146bbf1c1efb3b86c01de816a5d7 Mon Sep 17 00:00:00 2001 From: Christopher Vagnetoft Date: Fri, 3 Dec 2021 21:22:52 +0100 Subject: [PATCH] Cleanup dockerignore and readme --- .dockerignore | 5 +++++ README.md | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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`