I recently moved to GitHub action. Trying to make this work for days but could find a proper solution.
- In
JOB1I am buildingImage Aand usingImage Aas a base Image to buildImage B. - Now
Image Bwill act as a base image to buildImage Cin JOB2 andImage Din Job3.
I have already tried these 2 solutions but they didn't work.
- https://github.com/docker/build-push-action/issues/225#issuecomment-727639184
- https://evilmartians.com/chronicles/build-images-on-github-actions-with-docker-layer-caching
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
