#1176·spin

e2e tests docker image is built everytime

Author: rajatjindalCreated Feb 17, 2023Updated Sep 14, 2026
Labelscitesting

we can possibly publish docker image in separate action which is triggered only if Dockerfile has changed.

few gotchas to keep in mind:

  • on PR workflow, if Dockerfile has changed, build a new one and use that for testing e2e tests. dont push to ghcr
  • on merge to main, if Dockerfile has changed in this PR, tag a new version (and a latest version) and push to ghcr
  • otherwise use the existing image from ghcr instead of building it all the time