Open pindge opened 3 years ago
These variables need to placed after the diveImage
parameter since they are parameters being sent to the dive command within the dive docker image rather that docker cli itself.
see #204
update config-file: ${{ github.workspace }}/.dive-ci.yml
to use ${{ env.GITHUB_WORKSPACE }}
- name: Run docker image analysis
uses: yuichielectric/dive-action@0.0.4
with:
image: ${{ env.IMAGE }}:${{ env.GIT_BRANCH }}
config-file: ${{ env.GITHUB_WORKSPACE }}/.dive-ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}
https://github.com/opendatacube/datacube-ows/pull/613/checks?check_run_id=2691139167'
It is returning error for us, I believe the tag
--ci-config
is misplaced, it should be placed afterwagoodman/div:v0.9
instead of before