Skip to content

fix: goreleaser and container publish#4

Merged
krakenhavoc merged 1 commit intomainfrom
bugfix/fix-goreleaser
Mar 26, 2026
Merged

fix: goreleaser and container publish#4
krakenhavoc merged 1 commit intomainfrom
bugfix/fix-goreleaser

Conversation

@krakenhavoc
Copy link
Copy Markdown
Contributor

This pull request updates the build and release process to support multi-architecture Docker images (amd64 and arm64) and switches to a distroless base image for improved security and smaller image size. It also updates the GitHub Actions workflow to use Docker Buildx and QEMU for cross-platform builds, and introduces Docker manifests for easier multi-arch image pulls.

Docker image and release process improvements:

  • Added a new Dockerfile.goreleaser that uses the gcr.io/distroless/static-debian12:nonroot base image for a smaller and more secure runtime, and sets up the entrypoint for the krakenkey binary.
  • Refactored the goreleaser.yaml Docker configuration to build and publish separate images for amd64 and arm64 architectures using Buildx, and to use the new Dockerfile.goreleaser for both.
  • Added Docker manifests in goreleaser.yaml to group architecture-specific images under unified tags (e.g., latest, versioned tags), enabling multi-arch pulls.

Build pipeline enhancements:

  • Updated the GitHub Actions workflow (release.yaml) to set up QEMU and Docker Buildx, enabling cross-platform Docker builds.

Minor configuration cleanup:

  • Cleaned up the archives section in goreleaser.yaml by removing the redundant builds field under the krakenkey archive.

@krakenhavoc krakenhavoc merged commit e3db7d8 into main Mar 26, 2026
1 check passed
@krakenhavoc krakenhavoc deleted the bugfix/fix-goreleaser branch March 26, 2026 20:57
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