Migrate Cloudflare store to API token auth and v5 SDK#28
Open
starcraft66 wants to merge 3 commits intorobertlestak:mainfrom
Open
Migrate Cloudflare store to API token auth and v5 SDK#28starcraft66 wants to merge 3 commits intorobertlestak:mainfrom
starcraft66 wants to merge 3 commits intorobertlestak:mainfrom
Conversation
- Replace API key + email authentication with API token - Update to Cloudflare Go SDK v5.1.0 with modern CustomCertificates API - Update README documentation for API token usage - Add GitHub Actions workflow for Docker image building with multi-platform support and caching - Simplify authentication by requiring only api_token secret key BREAKING CHANGE: Cloudflare secrets now require 'api_token' instead of 'api_key' and 'email'
- Remove Dockerfile and replace with ko-based GitHub Actions workflow - Use ko's native multi-platform support for linux/amd64 and linux/arm64 - Significantly faster builds compared to Docker buildx - Use Chainguard static base image for minimal attack surface - Simplify workflow by leveraging ko's built-in manifest creation - Add .ko.yaml for configuration Benefits: - Faster builds (ko compiles directly, no Docker layers) - Smaller images (distroless/static base) - Better caching (Go module cache) - Simpler CI/CD pipeline
Add support for: - linux/amd64 (x86_64) - linux/arm64 (aarch64) - linux/arm/v7 (armv7) - linux/386 (i386) - linux/ppc64le (PowerPC 64-bit little-endian) - linux/s390x (IBM System z)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGE: Cloudflare secrets now require 'api_token' instead of 'api_key' and 'email'