I am struggling with the approach to synchronising docker image versions published using GitHub actions. Here is my setup:
Repo 1 (ui app)
Repo 2 (e2e tests)
I’ve got actions setup in both repos that create a release (using rymndhng/release-on-push-action) with a minor version bump and then build//publish the respective docker image (using the latest version) to Github package registry.
What I would like to achieve is a way to keep the release versions in sync so I don’t have to keep track of which e2e image to run against a particular ui app image. In essence, when a new e2e image is published (say v2) it should cut a v2 release in ui app and publish it. Conversely when ui v3 is published it should bump e2e to v3 but avoid any race conditions.
I’m reading up on webhook events and will give them a shot but in the meantime if you can share your thoughts, I’d really appreciate it.