Skip to content

Commit

Permalink
added container scanning to attribute-service repo (#132)
Browse files Browse the repository at this point in the history
Co-authored-by: Senan Jude <[email protected]>
  • Loading branch information
senanjude0 and Senan Jude authored Jul 20, 2022
1 parent 328273f commit 705c5b4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
with:
args: build dockerBuildImages

- name: Determine docker tag
id: tag
run: echo ::set-output name=tag::$(./gradlew -q printDockerImageDefaultTag | head -1)

- name: Scan docker image
uses: azure/[email protected]
with:
image-name: hypertrace/attribute-service:${{ steps.tag.outputs.tag }}
env:
DOCKLE_HOST: "unix:///var/run/docker.sock"
continue-on-error: true

validate-helm-charts:
runs-on: ubuntu-20.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions attribute-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ plugins {
java
application
jacoco
id("org.hypertrace.docker-java-application-plugin") version "0.9.0"
id("org.hypertrace.docker-publish-plugin") version "0.9.0"
id("org.hypertrace.docker-java-application-plugin") version "0.9.4"
id("org.hypertrace.docker-publish-plugin") version "0.9.4"
id("org.hypertrace.integration-test-plugin")
id("org.hypertrace.jacoco-report-plugin")
}
Expand Down

0 comments on commit 705c5b4

Please sign in to comment.