diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ed071ee..f590081 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -4,6 +4,8 @@ on: push: branches: - main + tags: + - v* jobs: build: diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..d02bf00 --- /dev/null +++ b/readme.md @@ -0,0 +1,15 @@ +# Caddy builds + +This repo contains different builds of Caddy + +# Structure + +For each folder under `builds` there is a different build of Caddy. The folder name is the name of the build. + +Dockerfile defines the image build process for each build. + +# CI/CD + +The CI/CD is done using Github Actions. The workflow is defined in `.gitea/workflows/build.yml`. The workflow is triggered on push with any tags that start with `v`. + +The workflow builds the image and pushes it to the Docker Hub.