I recently moved to GitHub action. Trying to make this work for days but could find a proper solution.
JOB1I am building
Image Aand using
Image Aas a base Image to build
Image Bwill act as a base image to build
Image Cin JOB2 and
Image Din Job3.
I have already tried these 2 solutions but they didn’t work.
- Sharing Docker containers between jobs in a workflow · Issue #225 · docker/build-push-action · GitHub
- Build images on GitHub Actions with Docker layer caching — Martian Chronicles, Evil Martians’ team blog
Some of the errors I am getting when tried the above solutions:
Error: buildx failed with: error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed