File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,19 @@ jobs:
160160 echo "digest=$(echo "$output" | jq -r '.manifest.digest // .manifests[0].digest')" >> "$GITHUB_OUTPUT"
161161 env :
162162 CONTAINER_VERSION : ${{ steps.metadata.outputs.version }}
163+ - run :
164+ set -Eeuo pipefail
165+ wget -O diffoci https://github.com/reproducible-containers/diffoci/releases/download/v0.1.7/diffoci-v0.1.7.linux-amd64
166+ chmod +x diffoci
167+ diffoci diff --semantic --report=container-diff.json ${FROM_CONTAINER} ${TO_CONTAINER}
168+ env :
169+ FROM_CONTAINER : ${{ env.REGISTRY }}/${{ github.repository }}-${{ inputs.flavor }}:edge
170+ TO_CONTAINER : ${{ env.REGISTRY }}/${{ github.repository }}-${{ inputs.flavor }}:${{ steps.metadata.outputs.version }}
171+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
172+ with :
173+ name : container-diff
174+ path : container-diff.json
175+ retention-days : 10
163176 - uses : ./.github/actions/container-size-diff
164177 id : container-size-diff
165178 with :
You can’t perform that action at this time.
0 commit comments