We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache_from
cache_to
[docker.registries.ghcr] address = "ghcr.io/robotpajamas"
def docker_image_ghcr(name: str, **kwargs) -> None: REPO_NAME = "Dockerfiles" cache_from = kwargs.pop( "cache_from", { "type": "registry", "ref": f"@ghcr/{REPO_NAME}/{name}/build-cache:main", }, ) cache_to = kwargs.pop( "cache_to", { "type": "registry", "mode": "max", "ref": f"@ghcr/{REPO_NAME}/{name}/build-cache:main", }, ) docker_image( # noqa: F821 name=f"{name}-ghcr", cache_from=cache_from, cache_to=cache_to, **kwargs, )
Leads to an error:
ERROR: failed to solve: failed to configure registry cache exporter: invalid reference format
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Leads to an error:
The text was updated successfully, but these errors were encountered: