Skip to content

Commit 84a24ec

Browse files
Updating trivy execution
1 parent 15795a1 commit 84a24ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Analyzing Docker container
4444
run: |
4545
# ~/dockle $DOCKER_REPO:$DOCKER_TAG
46-
~/trivy --quiet $DOCKER_REPO:$DOCKER_TAG
46+
~/trivy --quiet image $DOCKER_REPO:$DOCKER_TAG
4747
- name: Publishing container to Docker Hub
4848
if: ((github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch') && startsWith(matrix.node-version, '12.')
4949
env:

0 commit comments

Comments
 (0)