Skip to content

Add CI workflow to publish Docker images to ghcr.io/init4tech - #2

Merged
rymcol merged 1 commit into
mainfrom
add-init4-docker-ci
Mar 9, 2026
Merged

rymcol merged 1 commit into
mainfrom
add-init4-docker-ci

Conversation

@init4samwise

Copy link
Copy Markdown

This PR adds a GitHub Actions workflow that:

  • Triggers on tagged releases (v*)
  • Builds Docker images using the existing root Dockerfile
  • Pushes to ghcr.io/init4tech/blockscout-frontend
  • Tags images with the git tag version (e.g., 1.2.3), major.minor (e.g., 1.2), and latest
  • Supports linux/amd64 and linux/arm64 platforms
  • Uses GITHUB_TOKEN for ghcr.io authentication (built-in)
  • Uses GitHub Actions cache for faster builds
  • Passes GIT_COMMIT_SHA and GIT_TAG build args as expected by the Dockerfile

To publish a new image, simply create and push a tag like v1.0.0.


Related to init4tech's Blockscout deployment infrastructure.

@rymcol
rymcol merged commit 3737334 into main Mar 9, 2026
1 check passed
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