Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#publish your docker image to github container registry
#publish the docker image to github container registry
name: publish image and scan

on: [push]
Expand All @@ -14,7 +14,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: lacework-community
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the hello-world Docker image
Expand All @@ -27,18 +27,17 @@ jobs:
test-inline-scanner:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
- name: Checkout
uses: actions/checkout@v2

- name: Pull Docker image
run: docker pull ghcr.io/lacework-community/inline-scanner-with-github-actions:latest

- name: lw-scanner
run: docker pull ghcr.io/ladykerr/gh-action-demo:latest
- name: Scan the image
uses: lacework/lw-scanner-action@v0.7.1
with:
LW_ACCOUNT_NAME: ${{ secrets.LW_ACCOUNT_NAME }}
LW_ACCESS_TOKEN: ${{ secrets.LW_ACCESS_TOKEN }}
IMAGE_NAME: ghcr.io/lacework-community/inline-scanner-with-github-actions
IMAGE_NAME: docker pull ghcr.io/ladykerr/gh-action-demo
IMAGE_TAG: latest
SAVE_BUILD_REPORT: true
BUILD_REPORT_FILE_NAME: report.html
Expand Down