Skip to content

Commit

Permalink
Add --max-layers to disl in tests (#2669)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Sep 30, 2024
1 parent 3aef935 commit 6f6fe84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ docker compose -f docker-compose.yml \
--rm caddy sh /etc/ci.sh

# Checking the size of final images:
disl "${PROJECT_NAME}:dev" 950MiB
disl "registry.gitlab.com/${PROJECT_ORGANIZATION}/${PROJECT_NAME}:latest" 700MiB
disl --max-layers=13 "${PROJECT_NAME}:dev" 950MiB
disl --max-layers=14 \
"registry.gitlab.com/${PROJECT_ORGANIZATION}/${PROJECT_NAME}:latest" 700MiB

0 comments on commit 6f6fe84

Please sign in to comment.