Skip to content

Commit 0a37c03

Browse files
senanjude0Senan Juderavisingalaaron-steinfeld
authored
added container scanning to docker-java-base repo (#11)
* added container scanning to docker-java-base repo * changed the name of docker image in container scanning * added scanning to java:11 and java:14 images * edited the pr-build.yml file * update java version * Update .github/workflows/pr-build.yml Co-authored-by: Aaron Steinfeld <45047841+aaron-steinfeld@users.noreply.github.com> Co-authored-by: Senan Jude <senanjude@Senans-MacBook-Pro.local> Co-authored-by: Ravi Singal <ravi.singal@traceable.ai> Co-authored-by: ravisingal <62086374+ravisingal@users.noreply.github.com> Co-authored-by: Aaron Steinfeld <45047841+aaron-steinfeld@users.noreply.github.com>
1 parent 2f6d864 commit 0a37c03

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.github/workflows/pr-build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,20 @@ jobs:
4040
- name: Build with Gradle
4141
uses: hypertrace/github-actions/gradle@main
4242
with:
43-
args: dockerBuildImages
43+
args: dockerBuildImages
44+
45+
- name: Scan docker image
46+
uses: azure/container-scan@v0.1
47+
with:
48+
image-name: hypertrace/java:11
49+
env:
50+
DOCKLE_HOST: "unix:///var/run/docker.sock"
51+
continue-on-error: true
52+
53+
- name: Scan docker image
54+
uses: azure/container-scan@v0.1
55+
with:
56+
image-name: hypertrace/java:14
57+
env:
58+
DOCKLE_HOST: "unix:///var/run/docker.sock"
59+
continue-on-error: false

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
plugins {
2-
id("org.hypertrace.docker-publish-plugin") version "0.9.0" apply false
2+
id("org.hypertrace.docker-publish-plugin") version "0.9.4" apply false
33
}

java-11/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id("org.hypertrace.docker-publish-plugin")
33
}
44

5-
var javaVersion = "11.0.13-11.52.13"
5+
var javaVersion = "11.0.15-11.56.19"
66

77
hypertraceDocker {
88
defaultImage {

0 commit comments

Comments
 (0)