My image build stopped working with the following message today, the only change I made in this commit that is not working, and the previous one that worked fine was a typo. So I didn’t make any changes to how the image will be built.
GoVersion: go1.13.15
Buildkit: Starting build for index.docker. io/<my_company>/sync_lexical_terms:latest…
WARNING: Support for the legacy ~/.dockercfg configuration file and file-format is deprecated and will be removed in an upcoming release
#1 [internal] load build definition from Dockerfile
#1 sha256:2a1f37f83aec8e7daade00932336c319c87584f06b2e10f7e3e36503a4b98a7f
#1 transferring dockerfile: 556B done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 sha256:d842ed2e5f942de92f4196bb22b057bec1e3a6c938a4d03050c8d4b9d55e8647
#2 transferring context: 2B 0.0s done
#2 DONE 0.1s
#4 [auth] library/python:pull token for registry-1.docker .io
#4 sha256:e77a6e0df003ec4c6a30b7cf2937c6bec1eeedd6e3b2fadc3dbcb7ac48373d61
#4 DONE 0.0s
#3 [internal] load metadata for docker. io/library/python:3.8.12
#3 sha256:ef3181da7d21e9372332e1cc950cd6b182a3b7d79c423446752ea1fd0e466f47
#3 ERROR: failed to authorize: rpc error: code = Unknown desc = failed to fetch oauth token: unexpected status: 401 Unauthorized
[internal] load metadata for docker. io/library/python:3.8.12:
error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch oauth token: unexpected status: 401 Unauthorized
Build failed using Buildkit