Skip to content

Commit 0888ddb

Browse files
committed
use image id for analysis.
1 parent 5c83293 commit 0888ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
gdrive --config /gdrive --service-account-evar SERVICE_ACCOUNT_JSON download --path /github/workspace/packages/ ${JDK_DRIVEID}
5454
5555
- name: Build and export to Docker
56+
id: docker_build
5657
uses: docker/build-push-action@v2
5758
with:
5859
context: .
@@ -72,7 +73,7 @@ jobs:
7273
- name: Run docker image analysis
7374
uses: yuichielectric/[email protected]
7475
with:
75-
image: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ env.GIT_BRANCH }}
76+
image: ${{ steps.docker_build.outputs.imageid }}
7677
config-file: ${{ env.GITHUB_WORKSPACE }}/.dive-ci.yml
7778
github-token: ${{ secrets.GITHUB_TOKEN }}
7879

0 commit comments

Comments
 (0)