Skip to content

Commit

Permalink
don't run dive on branches because docker container is not pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
stebo85 authored Feb 2, 2024
1 parent 3ea4bfd commit da783ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
run: /bin/bash .github/workflows/build-docker.sh $IMAGENAME
- name: Check image for wasted space using dive
uses: MartinHeinz/[email protected]
if: ${{ !contains(github.event.head_commit.message, 'skipdive') }}
if: ${{ !contains(github.event.head_commit.message, 'skipdive') && github.ref == 'refs/heads/master'}}
with:
image: vnmd/${{ env.IMAGENAME }}:${{ env.BUILDDATE }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit da783ed

Please sign in to comment.