@@ -189,8 +189,8 @@ runs:
189189 docker-registry-url : ${{ inputs.docker-registry-url }}
190190 docker-repository-name : ${{ inputs.docker-repository-name }}
191191 # only save on events which are expected to be from the default branch
192- docker-save-cache : ${{ github.event_name == 'schedule' ||
193- github.event_name == 'push ' || github.event_name == 'pull_request ' }} # DEBUG: Testing cache
192+ docker-save-cache :
193+ ${{ github.event_name == 'schedule ' || github.event_name == 'push ' }}
194194 # dont use cache on events which are expected to be from the default branch
195195 # this is to create a fresh cache/snapshot unpolluted by previous cache entries
196196 docker-restore-cache :
@@ -208,42 +208,3 @@ runs:
208208 aws-region : ${{ inputs.aws-region }}
209209
210210 github-token : ${{ steps.github-token.outputs.access-token || '' }}
211-
212- # DEBUG: Inspect built image
213- - name : Inspect built image
214- shell : bash
215- env :
216- IMAGE :
217- " ${{ inputs.docker-registry-url }}/${{ inputs.docker-repository-name
218- }}:${{ inputs.image-tag }}"
219- run : |
220- echo "::group::Pull image"
221- docker pull "$IMAGE"
222- echo "::endgroup::"
223-
224- echo "::group::Installed binaries"
225- docker run --rm --user root --entrypoint ls "$IMAGE" -lahS /usr/local/bin/
226- echo "::endgroup::"
227-
228- echo "::group::Binary checksums (SHA256)"
229- docker run --rm --user root --entrypoint sh "$IMAGE" \
230- -c 'find /usr/local/bin -maxdepth 1 -type f | sort | xargs sha256sum'
231- echo "::endgroup::"
232-
233- echo "::group::Shared libraries"
234- docker run --rm --user root --entrypoint sh "$IMAGE" \
235- -c 'ls -la /usr/lib/lib* 2>/dev/null || echo "No shared libraries found"'
236- echo "::endgroup::"
237-
238- echo "::group::Chainlink version"
239- docker run --rm "$IMAGE" --version || true
240- echo "::endgroup::"
241-
242- echo "::group::Environment variables"
243- docker inspect "$IMAGE" --format '{{range .Config.Env}}{{println .}}{{end}}'
244- echo "::endgroup::"
245-
246- echo "::group::Image config"
247- docker inspect "$IMAGE" --format '{{json .Config}}' | python3 -m json.tool 2>/dev/null \
248- || docker inspect "$IMAGE" --format '{{json .Config}}'
249- echo "::endgroup::"
0 commit comments