Skip to content

Commit

Permalink
Add scan & lint to docker actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed Sep 14, 2023
1 parent 2a1243b commit 4b48d64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/docker-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,13 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
context: ${{ env.CONTEXT }}
file: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
file: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}

-
name: Scan & lint image
uses: ISID/[email protected]
continue-on-error: true
with:
tag: ${{ env.IMAGE_NAME }}
path: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}
dockerfile: ${{ env.DOCKERFILE }}
7 changes: 2 additions & 5 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@ jobs:
context: ${{ env.CONTEXT }}
file: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}

scan_docker_image:
runs-on: ubuntu-latest
needs: [ docker ]
steps:
- name: Scan & lint image
-
name: Scan & lint image
uses: ISID/[email protected]
continue-on-error: true
with:
Expand Down

0 comments on commit 4b48d64

Please sign in to comment.