The build process now uses GitHub Actions for automated container builds and pushes to Docker Hub.
The following services are automatically built:
- actions (
quicklookup/synmetrix-actions) - cubejs (
quicklookup/synmetrix-cube) - client (
quicklookup/synmetrix-client) - hasura-cli (
quicklookup/synmetrix-hasura) - hasura-backend-plus (
quicklookup/hasura-backend-plus)
Automatic builds are triggered on push/PR when files change in:
services/actions/,services/cubejs/,services/client/scripts/containers/hasura-cli/,scripts/containers/hasura-backend-plus/services/hasura/(triggers hasura-cli build)
Manual builds can be triggered via GitHub Actions UI:
- Go to Actions → Build and Push Containers
- Click "Run workflow"
- Select services (comma-separated or "all")
- Images are automatically pushed to Docker Hub
All images are tagged with:
{short-sha}(e.g.,abc1234){branch}-{short-sha}(e.g.,main-abc1234){branch}(branch name)latest(for main/master branch only)
For individual service builds:
git add "<your changes>"
git commit -m "a good commit message"
docker build --platform linux/amd64 -t quicklookup/synmetrix-actions:$(git rev-parse --short HEAD) services/actions --pushDeploying images to Kubernetes involves updating images in the synmetrix overlays in the cxs repo:
Update the newTag to match the short SHA from your build:
images:
- name: quicklookup/synmetrix-actions
newTag: abc1234 # Use short SHA from build
- name: quicklookup/synmetrix-cube
newTag: abc1234
- name: quicklookup/synmetrix-client
newTag: abc1234
- name: quicklookup/synmetrix-hasura
newTag: abc1234
- name: quicklookup/hasura-backend-plus
newTag: abc1234