Skip to content

Commit 17456e7

Browse files
ci(.github): fix sca action path and ref for image scan (#93)
1 parent 4119b41 commit 17456e7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

security-actions/scan-docker-image/action.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,20 @@ runs:
5050
using: composite
5151
steps:
5252

53+
# Due to https://github.com/orgs/community/discussions/41927
54+
- name: Symlink current Actions repo
55+
working-directory: ${{ github.action_path }}
56+
shell: bash
57+
run: ln -fs $(realpath ../../) /home/runner/work/_actions/current
58+
59+
- run: |
60+
ls -al /home/runner/work/_actions/current
61+
shell: bash
62+
5363
# Reuse SCA action for docker-image
5464
- name: Perform Docker SCA
5565
id: sca
56-
uses: ./security-actions/sca
66+
uses: ./../../_actions/current/security-actions/sca
5767
with:
5868
asset_prefix: ${{ inputs.asset_prefix }}
5969
image: ${{ inputs.image }}

0 commit comments

Comments
 (0)