[PR #6] [MERGED] ci: Split build workflows for standard and Alpine images, handle empty version #14

Closed
opened 2026-02-27 19:08:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CaddyBuilds/caddy-cloudflare/pull/6
Author: @vkartk
Created: 5/27/2024
Status: Merged
Merged: 5/27/2024
Merged by: @vkartk

Base: mainHead: split-build


📝 Commits (1)

  • 8c5547b ci: Split build workflows for standard and Alpine images, handle empty version

📊 Changes

3 files changed (+119 additions, -41 deletions)

View changed files

📝 .github/workflows/build-docker-image-alpine.yml (+25 -24)
.github/workflows/build-docker-image-standard.yml (+77 -0)
📝 README.md (+17 -17)

📄 Description

This pull request splits the build workflows into separate workflows for standard and Alpine-based Docker images. It also includes handling for cases where the version payload is empty by reading the version from version.json.

Changes:

  1. Split the build workflow into separate workflows for standard and Alpine builds.
  2. Updated the build-docker-image-standard.yml workflow for standard builds.
  3. Added the build-docker-image-alpine.yml workflow for Alpine builds.
  4. Added support for building and pushing caddy-cloudflare-alpine images.
  5. Updated tags to include caddy-cloudflare and caddy-cloudflare-alpine variants.
  6. Handled cases where the version payload is empty by reading the version from version.json.

Benefits:

  • The Docker image will be smaller in size due to the use of Alpine Linux.
  • Users will have more flexibility in choosing a lightweight image for their use case.
  • Ensures that the correct version is used during manual rebuilds.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CaddyBuilds/caddy-cloudflare/pull/6 **Author:** [@vkartk](https://github.com/vkartk) **Created:** 5/27/2024 **Status:** ✅ Merged **Merged:** 5/27/2024 **Merged by:** [@vkartk](https://github.com/vkartk) **Base:** `main` ← **Head:** `split-build` --- ### 📝 Commits (1) - [`8c5547b`](https://github.com/CaddyBuilds/caddy-cloudflare/commit/8c5547bb07b584d8e5f06e11afc4520d0ce5fe59) ci: Split build workflows for standard and Alpine images, handle empty version ### 📊 Changes **3 files changed** (+119 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-docker-image-alpine.yml` (+25 -24) ➕ `.github/workflows/build-docker-image-standard.yml` (+77 -0) 📝 `README.md` (+17 -17) </details> ### 📄 Description This pull request splits the build workflows into separate workflows for standard and Alpine-based Docker images. It also includes handling for cases where the version payload is empty by reading the version from `version.json`. ### Changes: 1. Split the build workflow into separate workflows for standard and Alpine builds. 2. Updated the `build-docker-image-standard.yml` workflow for standard builds. 3. Added the `build-docker-image-alpine.yml` workflow for Alpine builds. 4. Added support for building and pushing `caddy-cloudflare-alpine` images. 5. Updated tags to include `caddy-cloudflare` and `caddy-cloudflare-alpine` variants. 6. Handled cases where the version payload is empty by reading the version from `version.json`. ### Benefits: - The Docker image will be smaller in size due to the use of Alpine Linux. - Users will have more flexibility in choosing a lightweight image for their use case. - Ensures that the correct version is used during manual rebuilds. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:08:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/caddy-cloudflare#14
No description provided.