@@ -29,11 +29,11 @@ jobs:
29
29
steps :
30
30
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31
31
- name : Git Checkout
32
- uses : actions/checkout@v4.1.7
32
+ uses : actions/checkout@v4.2.2
33
33
34
34
- name : Get changed files
35
35
id : changed-files
36
- uses : tj-actions/changed-files@v44.5.7
36
+ uses : tj-actions/changed-files@v46.0.5
37
37
with :
38
38
files_ignore : |
39
39
.github/**
@@ -56,25 +56,25 @@ jobs:
56
56
57
57
- name : Set up Docker Buildx
58
58
if : steps.changed-files.outputs.any_changed == 'true'
59
- uses : docker/setup-buildx-action@v3
59
+ uses : docker/setup-buildx-action@v3.11.1
60
60
61
61
- name : Log in to Docker Hub
62
62
if : steps.changed-files.outputs.any_changed == 'true'
63
- uses : docker/login-action@v3.3 .0
63
+ uses : docker/login-action@v3.4 .0
64
64
with :
65
65
username : ${{ secrets.DOCKERHUB_USERNAME }}
66
66
password : ${{ secrets.DOCKERHUB_TOKEN }}
67
67
68
68
- name : Extract metadata (tags, labels) for Docker
69
69
if : steps.changed-files.outputs.any_changed == 'true'
70
70
id : meta
71
- uses : docker/metadata-action@v5.5.1
71
+ uses : docker/metadata-action@v5.7.0
72
72
with :
73
73
images : georgedavisibexlabs/publish-sarif-to-jira
74
74
75
75
- name : Build Docker image
76
76
if : steps.changed-files.outputs.any_changed == 'true'
77
- uses : docker/build-push-action@v6.6.1
77
+ uses : docker/build-push-action@v6.18.0
78
78
with :
79
79
context : .
80
80
file : Dockerfile
85
85
86
86
- name : Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
87
87
if : steps.changed-files.outputs.any_changed == 'true'
88
- uses : aquasecurity/trivy-action@0.24 .0
88
+ uses : aquasecurity/trivy-action@0.32 .0
89
89
with :
90
90
scan-type : " fs"
91
91
format : " github"
@@ -95,22 +95,22 @@ jobs:
95
95
96
96
- name : Upload trivy SBOM as a Github artifact
97
97
if : steps.changed-files.outputs.any_changed == 'true'
98
- uses : actions/upload-artifact@v4.3.6
98
+ uses : actions/upload-artifact@v4.6.2
99
99
with :
100
100
name : trivy-sbom-report
101
101
path : trivy-dependency-results.sbom.json
102
102
retention-days : 30
103
103
104
104
- name : Run Trivy Image scanner
105
- uses : aquasecurity/trivy-action@0.24 .0
105
+ uses : aquasecurity/trivy-action@0.32 .0
106
106
with :
107
107
scan-type : " image"
108
108
image-ref : " georgedavisibexlabs/publish-sarif-to-jira:main"
109
109
limit-severities-for-sarif : true
110
110
trivy-config : .github/config/trivy-sarif.yaml
111
111
112
112
- name : Upload Trivy Image scan results
113
- uses : actions/upload-artifact@v4.3.6
113
+ uses : actions/upload-artifact@v4.6.2
114
114
with :
115
115
name : trivy-image-scan-results
116
116
path : trivy-image-scan-results.sarif
0 commit comments