CircleCI CLI: “circleci/picard@sha256:…:” is not a valid repository/tag

With the latest CLI I get the same issue as already reported here: CircleCI local app: "circleci/picard@sha256:...:" is not a valid repository/tag

Env:

> docker version
Client:
 Version:         1.13.1
 API version:     1.26
 Package version: docker-1.13.1-61.git9cb56fd.fc28.x86_64
 Go version:      go1.10.3
 Git commit:      1556cce-unsupported
 Built:           Wed Aug  1 17:21:17 2018
 OS/Arch:         linux/amd64

Server:
 Version:         1.13.1
 API version:     1.26 (minimum version 1.12)
 Package version: docker-1.13.1-61.git9cb56fd.fc28.x86_64
 Go version:      go1.10.3
 Git commit:      1556cce-unsupported
 Built:           Wed Aug  1 17:21:17 2018
 OS/Arch:         linux/amd64
 Experimental:    false
> circleci version      
0.1.1789+1f1866a
> circleci local execute
Docker image digest: sha256:525c91e01875050fbf65cdb4bc83a45744c54f9027fa05f76f88713f3d37f4e3: Pulling from docker.io/circleci/picard
/usr/bin/docker-current: Error parsing reference: "circleci/picard@sha256:525c91e01875050fbf65cdb4bc83a45744c54f9027fa05f76f88713f3d37f4e3: Pulling from docker.io/circleci/picard" is not a valid repository/tag: invalid reference format.
See '/usr/bin/docker-current run --help'.

Huh,

don’t know how it happened by the the ~/.circleci/build_agent_settings.json file had the string “circleci/picard@sha256:525c91e01875050fbf65cdb4bc83a45744c54f9027fa05f76f88713f3d37f4e3: Pulling from docker.io/circleci/picard” specified as the latest SHA, which obviously is wrong.

Updating the file and removing the extra colon and text from the SHA fixed the issue.

2 Likes

Note that this is probably because of CircleCI CLI on Linux system issues.

I’m trying to use the CircleCI CLI on Fedora 28 (and still battling - once I was past the hurdle outlined here, there are other issues)…

Currently on Fedora 28, having these problems as well. Did you ever get it working?

I fixed the bug and sent a PR upstream. As of yet it hasn’t been merged, but it can be cloned from my fork or just manually changed in a local checkout (it’s a one-line fix).

Here’s a link: https://github.com/CircleCI-Public/circleci-cli/pull/193

You’ll need to run rm -r ~/.circleci to clear out the old garbage, then it should work. For now you’ll need to turn off selinux tho: sudo setenforce 0

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.