Skip to content

Commit 44bcbbd

Browse files
committed
added: the image exploration step with Dive
1 parent 9dd5ea4 commit 44bcbbd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

+9
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ jobs:
151151
tag: ghcr.io/ammnt/nginx:main
152152
overwrite: true
153153

154+
- name: Explore the Docker image with Dive🔍
155+
timeout-minutes: 2
156+
env:
157+
CI: true
158+
run: |
159+
wget -q https://github.com/wagoodman/dive/releases/download/v0.12.0/dive_0.12.0_linux_amd64.tar.gz
160+
tar xvzf dive_0.12.0_linux_amd64.tar.gz -C /usr/local/bin
161+
dive --ci-config "${{ github.workspace }}/.dive-ci/" ghcr.io/ammnt/nginx:main
162+
154163
- name: Test the Docker image🧪
155164
run: |
156165
docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/nginx:main

0 commit comments

Comments
 (0)