Skip to content

Commit

Permalink
do analysis after push.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Sep 16, 2024
1 parent 2008491 commit 057ecee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ jobs:
run: |
cd test && bash ./run_tests.sh "ghcr.io/$GITHUB_REPOSITORY_OWNER/$IMAGE:$GIT_BRANCH"
- name: Run docker image analysis
uses: yuichielectric/[email protected]
with:
image: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ env.GIT_BRANCH }}
config-file: ${{ env.GITHUB_WORKSPACE }}/.dive-ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
Expand All @@ -79,6 +72,13 @@ jobs:
${{ env.IMAGE }}:${{ env.GIT_BRANCH }}
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ env.GIT_BRANCH }}
- name: Run docker image analysis
uses: yuichielectric/[email protected]
with:
image: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ env.GIT_BRANCH }}
config-file: ${{ env.GITHUB_WORKSPACE }}/.dive-ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v2
continue-on-error: true
Expand Down

0 comments on commit 057ecee

Please sign in to comment.