Skip to content

Add the --current-size and --exit-zero to optionally show current docker image size and avoid stop the CI even if exceed max_size and max-layers #260

Add the --current-size and --exit-zero to optionally show current docker image size and avoid stop the CI even if exceed max_size and max-layers

Add the --current-size and --exit-zero to optionally show current docker image size and avoid stop the CI even if exceed max_size and max-layers #260

Workflow file for this run

name: disl
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Build named dockerfile'
run: |
docker build . --tag wemake-services/docker-image-size-limit:latest
- uses: wemake-services/docker-image-size-limit@master
with: # we lint this image by itself:
image: 'wemake-services/docker-image-size-limit:latest'
size: 405MB
max_layers: 10