diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index ddf86f6b..82199f39 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -15,11 +15,12 @@ jobs: - uses: actions/checkout@v7.0.0 with: fetch-depth: "0" + ref: ${{ github.head_ref }} - name: Resize images run: | - docker run -d --rm --name imagemagick -v $(pwd)/linuxserver.io:/inn -e FOLDER='/inn/img/' -e WIDTH=192 -e HEIGHT=192 ghcr.io/linuxserver/baseimage-alpine:3.24 - docker exec imagemagick bash -c 'apk add --no-cache imagemagick && for match in $(find $FOLDER/ -type f \( -iname \*-logo.png -o -iname \*-icon.png \)); do SIZE=$(identify -format "%w-%h" $match); WDT=${SIZE%-*}; HGT=${SIZE#*-}; if (( $WDT > $WIDTH )) || (( $HGT > $HEIGHT )); then convert -define exclude-chunk=tIME $match -resize $WIDTHx$HEIGHT\> $match; fi; done' + docker run -d --rm --name imagemagick -v "$(pwd)/linuxserver.io":/inn -e FOLDER='/inn/img/' -e WIDTH=192 -e HEIGHT=192 ghcr.io/linuxserver/baseimage-alpine:3.24 + docker exec imagemagick bash -c 'apk add --no-cache imagemagick && for f in "${FOLDER%/}"/*-logo.png "${FOLDER%/}"/*-icon.png; do if [[ $(identify -format "%w" "${f}") -gt "${WIDTH}" ]] || [[ $(identify -format "%h" "${f}") -gt "${HEIGHT}" ]]; then magick mogrify -resize "${WIDTH}x${HEIGHT}>" "${f}"; fi; done' docker stop imagemagick git config --global user.email "ci@linuxserver.io" diff --git a/linuxserver.io/img/doplarr_rs-logo.png b/linuxserver.io/img/doplarr_rs-logo.png index c8da5ea3..3caee93a 100644 Binary files a/linuxserver.io/img/doplarr_rs-logo.png and b/linuxserver.io/img/doplarr_rs-logo.png differ diff --git a/linuxserver.io/img/planka-logo.png b/linuxserver.io/img/planka-logo.png index a04182fa..d58d40af 100644 Binary files a/linuxserver.io/img/planka-logo.png and b/linuxserver.io/img/planka-logo.png differ