aiidalab / aiidalab-docker-stack

Docker images with the basic software stack for AiiDAlab
https://aiidalab.net
Other
9 stars 14 forks source link

Update `extract-image-names.sh` for bake-action@v5.6.0 #493

Open danielhollas opened 2 months ago

danielhollas commented 2 months ago

This is a follow-up on #491. The jq script in extract-image-names.sh started failing with bake-action@5.6.0 since the metadata output of buildx changed. We need to change the jq invocation accordingly before we're able to update the action.

This is the error from https://github.com/aiidalab/aiidalab-docker-stack/actions/runs/10287638235/job/28471150939

jq: error (at bake_metadata.json:691): Cannot index array with string "image.name"
unkcpz commented 2 months ago

Thanks for the fixing, looks all good. (sorry, I open 3 tabs about this issue and didn't go to the correct PR one to make the comment)

danielhollas commented 2 months ago

Thanks for taking a look. I've updated the issue with the concrete jq error that I saw.

danielhollas commented 2 months ago

Possible solution:

https://github.com/docker/bake-action/issues/239#issuecomment-2285948802