Commit graph

2 commits

Author SHA1 Message Date
Ahmad Kaouk
6b39d093c6
fix(ci): use test build context for validator submitter image (#475)
## Summary
- fix the validator-set-submitter release workflow to build with
`./test` as the Docker context
- align the workflow with the Dockerfile and `test/.dockerignore`
expectations

## Testing
- docker build --no-cache -t validator-set-submitter:fix -f
./test/tools/validator-set-submitter/Dockerfile ./test
- docker run --rm validator-set-submitter:fix --help
2026-03-13 15:40:33 +00:00
Ahmad Kaouk
d5390be43d
ci: publish validator-set-submitter Docker image on release (#467)
## Summary
- Add a new reusable workflow
(`task-docker-release-validator-set-submitter.yml`) to build and publish
the `datahavenxyz/validator-set-submitter` Docker image to Docker Hub
- Wire it into the existing `release.yml` so the submitter image is
published on every push to main

## Details

- **Triggers**: `workflow_call` (from `release.yml`) and
`workflow_dispatch` for manual builds with a custom label/branch
- **Tagging**: `latest` + `sha-<short>` on CI pushes; custom label on
manual dispatch
- **Build**: Uses the Dockerfile at
`test/tools/validator-set-submitter/Dockerfile`
- **Smoke test**: Pulls the published image and runs `--help` to verify
it starts correctly
- **Environment**: Requires `production` environment approval before
publishing

## Test plan
- [ ] Trigger the release workflow manually via `workflow_dispatch` and
verify the `datahavenxyz/validator-set-submitter` image is published to
Docker Hub
- [ ] Verify the smoke test (`--help`) passes in CI
- [ ] Merge to main and confirm the submitter image is published
2026-03-13 13:45:41 +01:00