question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"invalid reference format" publishing Docker image

See original GitHub issue

Error ocurred at the end of the publish flow for Datasette 0.58: https://github.com/simonw/datasette/runs/3072216421

Removing intermediate container cf32b9440907
 ---> dfd6985b2afc
Successfully built dfd6985b2afc
Successfully tagged ***/datasette:0.58
invalid reference format
Error: Process completed with exit code 1.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
simonwcommented, Jul 15, 2021

I think I made a mistake in this commit: https://github.com/simonw/datasette/commit/0486303b60ce2784fd2e2ecdbecf304b7d6e6659

Explicitly_push_version_tag__refs__1281_·_simonw_datasette_0486303

It looks like I copied $VERSION_TAG from here - but it’s not available in the publish.yml flow: https://github.com/simonw/datasette/blob/0486303b60ce2784fd2e2ecdbecf304b7d6e6659/.github/workflows/push_docker_tag.yml#L18-L25

0reactions
MichaelTiemannOSCcommented, Oct 19, 2021

Now that 0.59 has excellent annotated release notes, you can re-confirm this is fixed by updating the published Docker image and checking that these fixes still work 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

docker : invalid reference format - Stack Overflow
In this case, the error is most likely from pwd outputting a path with a space in it. Everything after the space is...
Read more >
How to fix docker error invalid reference format error? - Jhooq
The simplest way to fix the issue by change the image to jhooq-docker-demo so that there is no uppercase character in the image...
Read more >
How to fix 'docker: invalid reference format.' - TechOverflow
Docker is telling you that the syntax of the docker image name (& version) is wrong. Note that this is not the same...
Read more >
Image runs from CLI but fails with "invalid reference format" in ...
Image runs fine when executed from command line: $ docker image list REPOSITORY TAG IMAGE ID CREATED SIZE ghcr.io/pinheadmz/hsd <none> ...
Read more >
Error: not a valid repository/tag: invalid reference format
I'm currently using Docker installed in Google Cloud. I've been able to successfully run the example walkthrough to run helloapp (For ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found