Skip to content

Conversation

@Nutomic
Copy link
Member

@Nutomic Nutomic commented Sep 12, 2025

Continued from #5979 by @seang96

@dessalines
Copy link
Member

Related to that error:

ERROR: failed to build: invalid tag "********/lemmy\nghcr.io/lemmynet/lemmy:1.0.0-alpha.8": invalid reference format

docker/setup-buildx-action#291

So I'm guessing ghcr doesn't like dots in tag names?

@Nutomic
Copy link
Member Author

Nutomic commented Sep 12, 2025

I fixed that one already. Now theres another error: failed to build: tag is needed when pushing to registry. But the tag param is unchanged from before...

@dessalines
Copy link
Member

The only things I could find were posts related to github actions. Maybe there's just a network blip with github not reading the tags fast enough?

@dessalines
Copy link
Member

I don't see anything else related to tag besides one setting in the buildx plugin... so not sure what else to do there.

@Nutomic
Copy link
Member Author

Nutomic commented Sep 12, 2025

Same error after restart

Edit: Here are the docs btw: https://codeberg.org/woodpecker-plugins/docker-buildx/src/branch/main/docs.md#multi-registry-push-example

@seang96
Copy link

seang96 commented Sep 12, 2025

https://codeberg.org/woodpecker-plugins/docker-buildx/issues/156 mentions tagging issue might be related to newlines not generating properly?

@dessalines
Copy link
Member

try using tag: dev or tags: dev and see if that works. If so then it might be an issue with the injected tag var.

@Nutomic
Copy link
Member Author

Nutomic commented Sep 12, 2025

https://codeberg.org/woodpecker-plugins/docker-buildx/issues/156 mentions tagging issue might be related to newlines not generating properly?

This is about tags_file which we dont use.

try using tag: dev or tags: dev and see if that works. If so then it might be an issue with the injected tag var.

Tried it and same error.

Edit: set auto_tag: true now and still fails.

@seang96
Copy link

seang96 commented Sep 12, 2025

Maybe setting Daemon.Debug will provide some insights?

Edit: Found setting in the plugin here https://codeberg.org/woodpecker-plugins/docker-buildx/src/commit/b77706d30da9f5c88ce7e2f3a03e4ef819902d1f/plugin/plugin.go#L17

@Nutomic Nutomic force-pushed the github-docker-publish branch from 32cdc51 to 2fe2802 Compare September 16, 2025 08:19
@Nutomic
Copy link
Member Author

Nutomic commented Sep 16, 2025

Added debug but it doesnt show any extra info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants