Skip to content

Commit d7ce866

Browse files
committed
chore: inspecting the image in the docker actions
1 parent cb343de commit d7ce866

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/dockerized-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
docker build . -t local/test -f Dockerfile.rie \
3939
--build-arg HANDLERS_TO_BUILD="${HANDLERS_TO_BUILD}" \
4040
--build-arg OUTPUT_DIR="${OUTPUT_DIR}"
41+
42+
- name: Verify image contents
43+
run: |
44+
echo "Checking /var/task contents:"
45+
docker run --rm --entrypoint ls local/test -la /var/task
46+
echo "Checking if basic-lambda binary exists:"
47+
docker run --rm --entrypoint test local/test -f /var/task/basic-lambda && echo "Binary exists" || echo "Binary NOT found"
4148
4249
- name: Run tests
4350
uses: aws/containerized-test-runner-for-aws-lambda@main

0 commit comments

Comments
 (0)