docker-pipeline-test/README.md

460 B

docker-pipeline-test

This is a repository with an example application to test a custom docker pipeline using Gitea, Woodpecker and a private registry.

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