Skip to content

Commit

Permalink
added: the image exploration step with Dive
Browse files Browse the repository at this point in the history
  • Loading branch information
ammnt committed Jun 9, 2024
1 parent c8fd977 commit 1dc2504
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,15 @@ jobs:
tag: ghcr.io/ammnt/freenginx:main
overwrite: true

- name: Explore the Docker image with Dive馃攳
timeout-minutes: 2
env:
CI: true
run: |
wget -q https://github.com/wagoodman/dive/releases/download/v0.12.0/dive_0.12.0_linux_amd64.tar.gz
tar xvzf dive_0.12.0_linux_amd64.tar.gz -C /usr/local/bin
dive --ci-config "${{ github.workspace }}/.dive-ci/" ghcr.io/ammnt/freenginx:main
- name: Test the Docker image馃И
run: |
docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/freenginx:main
Expand Down

0 comments on commit 1dc2504

Please sign in to comment.