Skip to content

Add GitHub Action to Build and Publish Docker Image on Release#396

Open
asadarafat wants to merge 5 commits intobirdayz:masterfrom
asadarafat:master
Open

Add GitHub Action to Build and Publish Docker Image on Release#396
asadarafat wants to merge 5 commits intobirdayz:masterfrom
asadarafat:master

Conversation

@asadarafat
Copy link
Copy Markdown

This PR introduces a GitHub Actions workflow named Build and Push Docker Image that:

  • Automatically builds and publishes a Docker image to GitHub Container Registry (GHCR)
  • Triggers on new releases (release: published) and also supports manual execution (workflow_dispatch)
  • Dynamically generates a Dockerfile based on Red Hat UBI 8 Minimal
  • Downloads the official kaf binary using the upstream godownloader script
  • Installs useful CLI tools such as jq, yq, tar, zip, and bash
  • Runs the image as a non-root admin user to align with container security best practices

The resulting image will be published under:
ghcr.io/<user>/<repo>:<version> and :latest

@birdayz
Copy link
Copy Markdown
Owner

birdayz commented Oct 3, 2025

we need to do this via goreleaser to stay consistent with the other tooling.

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.

2 participants