Closed gonuke closed 11 months ago
✅ Docker builds are successful and other build/test is irrelevant (?) because it's still using old docker images.
Hopefully, merging this will allow us to move forward with proper build/test on linux using the correct docker images... but we'll need to review the final step carefully since it only happens on push to svalinn/develop
Just the sort of thing we needed.
Description
Remove dependence on unstable image tag for retagging.
Motivation and Context
Recent merges of our new docker image deployment have failed at the last step because we rely on a tag generated by the multi-stage-build-action that is automatically generated. The documentation for that project recommends that we do NOT rely on that tag. We could probably figure out something that would work, but it may be fragile based on the guidance from the authors of that action.
Changes
This uses logic tests to determine whether or not the images should be tagged as
latest
and only does so when it is a push todevelop
on the upstreamsvalinn
repository. Pushes to other branches will still run the tests, building the full set of docker images, but will not tag them aslatest
.