Skip to content

Commit 340bb52

Browse files
committed
updated workflow
1 parent a9a81f2 commit 340bb52

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-image-on-push.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
push: true
8282
provenance: true
8383
sbom: true
84+
no-cache: true # ensure fresh download of software packages
8485
tags: |
8586
${{ env.IMAGE_NAME }}:commit-${{ steps.get_commit.outputs.short_sha }}
8687
${{ env.IMAGE_NAME }}:${{ needs.init-vars.outputs.image_tag_prefix }}${{ needs.init-vars.outputs.version }}
@@ -95,6 +96,11 @@ jobs:
9596
org.opencontainers.image.documentation=https://github.com/seatable/restic-backup-docker
9697
org.opencontainers.image.vendor=SeaTable
9798
99+
- name: Verify Rclone Dependencies
100+
run: |
101+
docker run --rm ${{ env.IMAGE_NAME }}:commit-${{ steps.get_commit.outputs.short_sha }} \
102+
/bin/rclone version | grep "github.com/golang-jwt/jwt/v5"
103+
98104
- name: Run Trivy vulnerability scanner
99105
uses: aquasecurity/trivy-action@master
100106
with:
@@ -105,6 +111,7 @@ jobs:
105111
ignore-unfixed: true
106112
vuln-type: "os,library"
107113
severity: "CRITICAL,HIGH"
114+
command: 'image --reset'
108115

109116
#- name: Push image
110117
# uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)