From 4731b98f46325f8bfafa1b326303cdf6a63a2340 Mon Sep 17 00:00:00 2001 From: Linloir <3145078758@qq.com> Date: Wed, 9 Oct 2024 21:32:19 +0800 Subject: [PATCH] feat: Update readme and build.yml --- .gitea/workflows/build.yml | 2 ++ readme.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 readme.md 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.