Skip to content

Commit

Permalink
Do not add any checked-in files to .dockerignore (#3841)
Browse files Browse the repository at this point in the history
Or the "dirty" tag will be added to the Antrea version string for all
builds off of the main branch.

Signed-off-by: Antonin Bas <abas@vmware.com>
  • Loading branch information
antoninbas authored May 31, 2022
1 parent cc4fe0b commit dc5d459
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# DO NOT ADD ANY CHECKED-IN FILES TO THIS LIST!
# During the build, we look for tracked files with changes and if we find any,
# we add a "dirty" tag to the version string. Therefore if any checked-in file
# is added to this list, it will be omitted from the docker build context, git
# will think the file has been deleted and the "dirty" tag will always be
# present, even for Antrea builds created directly from the main branch by CI.
.cache
bin/antctl-darwin
bin/antctl-linux
bin/antctl-windows.exe
test/e2e/infra

0 comments on commit dc5d459

Please sign in to comment.