Skip to content

Commit

Permalink
🔧 Add dive config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Poeschl committed Sep 15, 2024
1 parent efeb824 commit aa601aa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .dive-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
rules:
# If the efficiency is measured below X%, mark as failed.
# Expressed as a ratio between 0-1.
lowestEfficiency: 0.95

# If the amount of wasted space is at least X or larger than X, mark as failed.
# Expressed in B, KB, MB, and GB.
highestWastedBytes: 20MB

# If the amount of wasted space makes up for X% or more of the image, mark as failed.
# Note: the base image layer is NOT included in the total image size.
# Expressed as a ratio between 0-1; fails if the threshold is met or crossed.
highestUserWastedPercent: 0.20

0 comments on commit aa601aa

Please sign in to comment.