Error pushing image to REG/REP:TAG: unable to push image to REG/REP:TAG: invalid character '*' in string escape code
nickbreen opened this issue Β· comments
π bug report
Affected Rule
The issue is caused by the rule:container_push
Is this a regression?
Yes, the previous version in which this bug was not present was: ....Unknown
Description
A clear and concise description of the problem...pusher produces this error (REG/REP:TAG elided):
Error pushing image to REG/REP:TAG: unable to push image to REG/REP:TAG: invalid character '*' in string escape code
REG is a FQDN.
REP is the path of the bazel module
TAG is of the form: NNNNNN-NNNNNN
It appears to be emitted by
It is pushing to an authenticated sonatype repository.
π¬ Minimal Reproduction
Not available.
π₯ Exception or Error
Error pushing image to REG/REP:TAG: unable to push image to REG/REP:TAG: invalid character '*' in string escape code
No additional log messages of note with --define=VERBOSE_LOGS=1
π Your Environment
Operating System:
Fedora 36
Output of bazel version
:
6.0.0 release
Rules_docker version:
v0.25.0
Anything else relevant?
There are no corresponding log events in our nexus repository: which indicates that pusher
is not even attempting authentication or upload of the image.
It turns out this is due to invalid JSON from our credentials helper.