Skip to content

Commit

Permalink
Update vulnerability_check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pcbimon authored Jun 23, 2024
1 parent 4700d7b commit a8b6a05
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/vulnerability_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,19 @@ jobs:
uses: docker/build-push-action@v4
with:
context: ./ckan
load: true
push: false
file: ./ckan/Dockerfile
outputs: type=docker,dest=/tmp/ckan-image.tar
tags: ckan-docker/ckan:test-valner-scan
- name: Build and load CKAN xloader
uses: docker/build-push-action@v4
with:
context: ./ckan/ckanext-xloader
load: true
push: false
file: ./ckan/ckanext-xloader/Dockerfile
tags: ckan-docker/ckan:test-valner-scan
outputs: type=docker,dest=/tmp/ckan-xloader-image.tar
tags: ckan-docker/ckan-xloader:test-valner-scan
- name: Scan for vulnerabilities for CKAN image
uses: crazy-max/ghaction-container-scan@v3
with:
image: ckan-docker/ckan:test-valner-scan
dockerfile: ./ckan/Dockerfile
tarball: /tmp/ckan-image.tar
- name: Scan for vulnerabilities for CKAN xloader image
uses: crazy-max/ghaction-container-scan@v3
with:
image: ckan-docker/ckan-xloader:test-valner-scan
dockerfile: ./ckan/ckanext-xloader/Dockerfile
tarball: /tmp/ckan-xloader-image.tar

0 comments on commit a8b6a05

Please sign in to comment.