Skip to content

[INFRA-478] Build and publish the image with GitHub Actions - #25

Merged
itskingori merged 2 commits into
masterfrom
ci-docker-hub-release
Oct 27, 2026
Merged

itskingori merged 2 commits into
masterfrom
ci-docker-hub-release

Conversation

@itskingori

@itskingori itskingori commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Adds GitHub Actions workflows that test the image build on pull requests and publish multi-arch images to Docker Hub when a tag is pushed. Builds on the Ruby 3.4.12 upgrade.

Background

The last published image is 1.4.1 from September 2020. Docker Hub automated builds stopped producing images after that, so nothing merged since then was released.

Changes

  • test.yml builds linux/amd64 and linux/arm64 on pull requests to master, without pushing.
  • release.yml runs on any tag push. It creates a GitHub release, then builds both architectures, pushes them to zappi/gemstash with tags from docker/metadata-action and updates the Docker Hub description from the README.
  • Both follow the workflows in Intellection/docker-nginx-proxy and use the existing DOCKER_HUB_USERNAME and DOCKER_HUB_TOKEN repository secrets.

Reviewing

This is the first pull request that runs test.yml, so its own build check is the test of the workflow.

Rollout

After both PRs merge, pushing the 2.8.2 tag on master publishes zappi/gemstash:2.8.2.

Related

@itskingori
itskingori force-pushed the ruby-3-4-gemstash-2-8 branch from 003f866 to 6ee1e76 Compare October 27, 2026 13:13
@itskingori
itskingori force-pushed the ci-docker-hub-release branch from f1e421b to 75290ac Compare October 27, 2026 13:13
@itskingori
itskingori marked this pull request as ready for review October 27, 2026 13:53
@itskingori
itskingori requested a review from a team as a code owner October 27, 2026 13:53
@itskingori
itskingori changed the base branch from ruby-3-4-gemstash-2-8 to master October 27, 2026 13:54
Docker Hub automated builds stopped producing images after 1.4.1, so
nothing merged since 2020 was released. The workflows follow the other
Intellection docker-* repositories: pull requests to master test a
multi-arch build, and pushing a tag creates a GitHub release and pushes
linux/amd64 and linux/arm64 images to zappi/gemstash on Docker Hub.
@itskingori
itskingori force-pushed the ci-docker-hub-release branch from 75290ac to 3c7af5d Compare October 27, 2026 13:55
@itskingori
itskingori merged commit 43f394d into master Oct 27, 2026
2 checks passed
@itskingori
itskingori deleted the ci-docker-hub-release branch October 27, 2026 15:13
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