Skip to content

Conversation

@starcraft66
Copy link

  • 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'

- 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant