Skip to content

buildx(build): resolveCacheToAttrs func#350

Merged
crazy-max merged 1 commit intodocker:mainfrom
crazy-max:gha-rest
Jun 10, 2024
Merged

buildx(build): resolveCacheToAttrs func#350
crazy-max merged 1 commit intodocker:mainfrom
crazy-max:gha-rest

Conversation

@crazy-max
Copy link
Member

follow-up moby/buildkit#4788 (review)

When using gha cache export type, set repository and ghtoken attributes.

Needs follow-up on build-push-action and bake-action to use this func.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
Copy link
Member Author

For bake-action that's tricky. We need to first load the definition to check cache-to usage in targets and would then need to use overrides to correct them.

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.

1 participant