File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ jobs:
35
35
runs-on : ubuntu-latest
36
36
steps :
37
37
- name : Checkout the code
38
- uses : actions/checkout@v3
38
+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
39
39
- name : Build the Docker image
40
40
run : docker build . --file ${{ env.DOCKERFILE }} --tag localbuild/testimage:latest
41
41
- name : Run the Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
42
- uses : anchore/scan-action@v3
42
+ uses : anchore/scan-action@3343887d815d7b07465f6fdcd395bd66508d486a # v3
43
43
with :
44
44
image : " localbuild/testimage:latest"
45
45
fail-build : true
46
46
severity-cutoff : " high"
47
47
- name : Upload Anchore Scan Report
48
- uses : github/codeql-action/upload-sarif@v2
48
+ uses : github/codeql-action/upload-sarif@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2
49
49
if : always()
50
50
with :
51
51
sarif_file : results.sarif
Original file line number Diff line number Diff line change 1
- FROM maven:3-jdk-11-slim as buildtime
1
+ FROM maven:3-jdk-11-slim@sha256:2cb7c73ba2fd0f7ae64cfabd99180030ec85841a1197b4ae821d21836cb0aa3b as buildtime
2
2
3
3
WORKDIR /build
4
4
COPY . .
5
5
6
6
RUN mvn clean package
7
7
8
- FROM amazoncorretto:11 as runtime
8
+ FROM amazoncorretto:11@sha256:89b6c49b62d84d7a8f769e43ab03f0fb016dbf90cd768629b9d9b6efe9be6940 as runtime
9
9
10
10
WORKDIR /app
11
11
You can’t perform that action at this time.
0 commit comments