Skip to content

feat(ci): add GitHub Actions workflow for Docker image publishing#16

Merged
faloker merged 2 commits into
mainfrom
ci/docker-image-release
Jun 25, 2026
Merged

feat(ci): add GitHub Actions workflow for Docker image publishing#16
faloker merged 2 commits into
mainfrom
ci/docker-image-release

Conversation

@faloker

@faloker faloker commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 25, 2026 19:14
@github-actions github-actions Bot added the size/L PR size: L label Jun 25, 2026
@faloker faloker merged commit ff3602e into main Jun 25, 2026
3 of 4 checks passed
@faloker faloker deleted the ci/docker-image-release branch June 25, 2026 19:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a GitHub Actions workflow to build and publish multi-arch Docker images to GHCR on version tags, while also bumping the project’s Go toolchain version and adjusting the Docker build.

Changes:

  • Add .github/workflows/docker-publish.yml to build per-arch images, merge into a multi-platform manifest, then sign/attest.
  • Bump Go version references to 1.25.11 across go.mod, mise.toml, and the Dockerfile base image.
  • Update Dockerfile build step to configure git safe.directory before building.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
mise.toml Updates the Go tool version used by mise.
go.mod Updates the module’s declared Go version.
Dockerfile Updates the Go builder base image and adds git safe.directory config prior to build.
.github/workflows/docker-publish.yml Adds a tag-triggered GHCR publish pipeline with multi-arch build/merge and cosign + SBOM attestation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

persist-credentials: false

- name: Set image name lowercase
run: echo "IMAGE_NAME_LC=$(echo "${{ env.IMAGE_NAME }}" | tr '[:upper:]' '[:lower:]')" >> "${GITHUB_ENV}"

steps:
- name: Set image name lowercase
run: echo "IMAGE_NAME_LC=$(echo "${{ env.IMAGE_NAME }}" | tr '[:upper:]' '[:lower:]')" >> "${GITHUB_ENV}"

steps:
- name: Set image name lowercase
run: echo "IMAGE_NAME_LC=$(echo "${{ env.IMAGE_NAME }}" | tr '[:upper:]' '[:lower:]')" >> "${GITHUB_ENV}"
Comment thread Dockerfile
Comment on lines +25 to +26
RUN git config --global --add safe.directory /build && \
CGO_ENABLED=0 go build \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L PR size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants