We recently upgraded our Cloudformation stack from 6.21 to 6.30 to be able to get this update which upgrades buildx to 0.15 so that we can get buildkit v0.14. We did this as we were affected by the buildkit cache issue this PR was attempting to fix.
I upgraded, however I am still seeing the buildkit caching issue. Did some digging and found that the BuildKit version is still an older version (0.12.5) even though I could confirm that we were now using buildx v0.15
However, if I added this exact same code in my bootstrap script, it runs (I checked the logs), but when I SSH into the instance and check the builder, there is no trace of my custombuilder
Describe the bug
We recently upgraded our Cloudformation stack from 6.21 to 6.30 to be able to get this update which upgrades buildx to 0.15 so that we can get buildkit v0.14. We did this as we were affected by the buildkit cache issue this PR was attempting to fix.
I upgraded, however I am still seeing the buildkit caching issue. Did some digging and found that the BuildKit version is still an older version (0.12.5) even though I could confirm that we were now using buildx v0.15
From an older instance (Stack version: v6.21)
From a newer instance (Stack version: v6.30)
Attempts to Fix
I tried getting around this by creating my own builder and using that as a default
When running this manually it works
However, if I added this exact same code in my bootstrap script, it runs (I checked the logs), but when I SSH into the instance and check the builder, there is no trace of my custombuilder
Any ideas how I can fix this?
Expected behavior I expected the buildkit version to be v0.14
Actual behaviour It is instead v0.12.5
Stack parameters (please complete the following information):
Additional context Add any other context about the problem here.