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

Fix build warnings from BuildKit #6476

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

antoninbas
Copy link
Contributor

Recent versions of BuildKit supports build checks: https://docs.docker.com/reference/build-checks/

Because our Github CI uses a very recent version of buildx (through docker/setup-buildx-action), CI builds have been reporting warnings because we do not use the same casing for the "FROM" and "as" keywords in our Dockerfiles:
https://docs.docker.com/reference/build-checks/from-as-casing/

To avoid these warnings, we fix the casing in all Dockerfiles.

Recent versions of BuildKit supports build checks:
https://docs.docker.com/reference/build-checks/

Because our Github CI uses a very recent version of buildx (through
docker/setup-buildx-action), CI builds have been reporting warnings
because we do not use the same casing for the "FROM" and "as" keywords
in our Dockerfiles:
https://docs.docker.com/reference/build-checks/from-as-casing/

To avoid these warnings, we fix the casing in all Dockerfiles.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
@antoninbas antoninbas merged commit 538df0e into antrea-io:main Jun 24, 2024
46 of 53 checks passed
@antoninbas antoninbas deleted the fix-buidkit-warnings branch June 24, 2024 17:07
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