Skip to content

Commit

Permalink
test scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent c4f58db commit 699f93f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/reusable-workflow-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,25 @@ jobs:
run: |
podman image ls
- name: Check ubuntu image with Trivy
# - name: Check ubuntu image with Trivy
# run: |
# trivy image docker.io/library/ubuntu:22.04

- name: Check our image with Trivy
run: |
trivy image docker.io/library/ubuntu:22.04
trivy image $REGISTRY/$IMAGE_NAME:$IMAGE_TAG
env:
REGISTRY: "docker.io/library"
IMAGE_NAME: "ubuntu"
IMAGE_TAG: "22.04"

- name: Check our image with Trivy
run: |
trivy image $REGISTRY/$IMAGE_NAME:$IMAGE_TAG
env:
REGISTRY: "docker.io/library"
IMAGE_NAME: "ubuntu"
IMAGE_TAG: "22.04"

# - name: Check image with Trivy
# run: |
Expand Down

0 comments on commit 699f93f

Please sign in to comment.