ruby.wasm icon indicating copy to clipboard operation
ruby.wasm copied to clipboard

Intermittent `403 Forbidden` error in the `Build ruby.wasm` Github Actions workflow

Open mashallah opened this issue 1 year ago • 0 comments

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

  • https://github.com/ruby/ruby.wasm/actions/runs/10484098839/job/29037840314#step:6:273
 > 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

mashallah avatar Aug 21 '24 20:08 mashallah