Skip to content

Fix: Fix the image location for local scanner #1166

Fix: Fix the image location for local scanner

Fix: Fix the image location for local scanner #1166

Workflow file for this run

name: test-action
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "30 8 * * *"
jobs:
test-action:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Pull Docker image
run: docker image pull techallylw/vulnerable-container:v0.0.1
- name: Build lw-scanner action container image
uses: docker/build-push-action@v5
with:
context: .
load: true
push: false
tags: ${{ github.repository }}:latest
- name: lw-scanner
id: lw-scanner
uses: ./
with:
LW_ACCOUNT_NAME: ${{ secrets.LW_ACCOUNT_NAME }}
LW_ACCESS_TOKEN: ${{ secrets.LW_ACCESS_TOKEN }}
IMAGE_NAME: techallylw/vulnerable-container
IMAGE_TAG: v0.0.1