Intermittent `403 Forbidden` error in the `Build ruby.wasm` Github Actions workflow
Closed this issue · 0 comments
mashallah commented
The docker/build-push-action step intermittently fails during the build-builder-image job. I had the same problem recently and would like to offer a PR with the updates that worked for us.
Examples
> exporting to image:
------
ERROR: failed to solve: failed to push ghcr.io/ruby/ruby.wasm/builder/wasm32-unknown-wasip1:main: unexpected status from POST request to https://ghcr.io/v2/ruby/ruby.wasm/builder/wasm32-unknown-wasip1/blobs/uploads/: 403 Forbidden
Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/ruby/ruby.wasm/builder/wasm32-unknown-wasip1:main: unexpected status from POST request to https://ghcr.io/v2/ruby/ruby.wasm/builder/wasm32-unknown-wasip1/blobs/uploads/: 403 Forbidden