Skip to content

Add GitHub Actions workflow to build and publish Docker image to GHCR#1

Merged
dabc24 merged 1 commit into
mainfrom
codex/analyze-audio-pipeline-from-hardware-to-ai-model
Apr 20, 2026
Merged

Add GitHub Actions workflow to build and publish Docker image to GHCR#1
dabc24 merged 1 commit into
mainfrom
codex/analyze-audio-pipeline-from-hardware-to-ai-model

Conversation

@dabc24
Copy link
Copy Markdown
Owner

@dabc24 dabc24 commented Apr 20, 2026

Motivation

  • Provide an automated CI workflow to build and publish multi-architecture Docker images to GitHub Container Registry when code is pushed to main, a v* tag is created, or triggered manually.
  • Ensure consistent image metadata and caching to speed up builds and support reproducible tags.
  • Centralize build logic in repository so images are produced and versioned alongside code changes.

Description

  • Add a new GitHub Actions workflow file at .github/workflows/docker-publish.yml that triggers on push to main, tag pushes matching v*, and workflow_dispatch manual runs.
  • Configure permissions and steps to checkout the repo, set up QEMU with docker/setup-qemu-action@v3, set up Buildx with docker/setup-buildx-action@v3, and log in to GHCR with docker/login-action@v3.
  • Use docker/metadata-action@v5 to generate image tags and docker/build-push-action@v6 to build multi-platform images for linux/amd64,linux/arm64, push to ghcr.io/${{ github.repository }}, and use GitHub Actions cache with cache-from/cache-to settings.

Testing

  • No automated tests were executed as part of this change; the workflow itself will run on pushes to main, on matching tags, or via manual dispatch in CI.

Codex Task

@dabc24 dabc24 merged commit 602aba9 into main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant