Skip to content
New issue

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

Set docker buildx context to current directory #18

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

james-callahan
Copy link
Contributor

@james-callahan james-callahan commented Aug 3, 2023

Otherwise buildx re-clones internally via an additional build context. That clone operation cannot have e.g. submodules disabled.

Thanks to docker/build-push-action#638 (comment) for helping me find a simple solution

This change will result in the resulting docker manifests having a different sources array.

Otherwise buildx re-clones internally via an additional build context.
That clone operation cannot have e.g. submodules disabled.

This change will result in the resulting docker manifests having a different
sources array.
@james-callahan
Copy link
Contributor Author

This change will result in the resulting docker manifests having a different sources array.

Confirmed.

Before: https://github.com/tkhq/ecr-proxy/actions/runs/5740547724/job/15558637560#step:7:321
image

After: https://github.com/tkhq/ecr-proxy/actions/runs/5745631678/job/15573923754?pr=18#step:7:273
image

@james-callahan james-callahan marked this pull request as ready for review August 3, 2023 01:47
@Ulexus Ulexus merged commit 922a074 into tkhq:main Aug 3, 2023
3 checks passed
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.

None yet

2 participants