Skip to content

Commit

Permalink
update dive action
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Ai committed Jul 3, 2024
1 parent 0b642bd commit 0203714
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/dive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
env:
ORG: dea
IMAGE: dea-sandbox
DIVE: wagoodman/dive:v0.12.0
DOCKER_API: 1.37

jobs:
dive:
Expand Down Expand Up @@ -81,11 +83,11 @@ jobs:
sudo rm -rf ${GITHUB_WORKSPACE}/.git
- name: Dive
uses: yuichielectric/[email protected]
with:
image: ${{ env.ORG }}/${{ env.IMAGE}}:_build
config-file: ${{ github.workspace }}/dive-ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}
run: |
docker pull ${DIVE}
docker run -e CI=true -e DOCKER_API_VERSION=${DOCKER_API} --rm -v /var/run/docker.sock:/var/run/docker.sock \
--mount type=bind,source=${{ github.workspace }}/dive-ci.yml,target=/.dive-ci \
${DIVE} --ci-config /.dive-ci ${ORG}/${IMAGE}:_build
- name: Docker image size check
uses: wemake-services/docker-image-size-limit@master
Expand Down

0 comments on commit 0203714

Please sign in to comment.