diff --git a/security-actions/scan-docker-image/action.yml b/security-actions/scan-docker-image/action.yml index 3e5ebae5..a965f2d3 100644 --- a/security-actions/scan-docker-image/action.yml +++ b/security-actions/scan-docker-image/action.yml @@ -50,10 +50,20 @@ runs: using: composite steps: + # Due to https://github.com/orgs/community/discussions/41927 + - name: Symlink current Actions repo + working-directory: ${{ github.action_path }} + shell: bash + run: ln -fs $(realpath ../) /home/runner/work/_actions/current + + - run: | + ls -al /home/runner/work/_actions/current + shell: bash + # Reuse SCA action for docker-image - name: Perform Docker SCA id: sca - uses: ./security-actions/sca + uses: ./../../_actions/current/security-actions/sca with: asset_prefix: ${{ inputs.asset_prefix }} image: ${{ inputs.image }}