Skip to content

Commit 2042d9e

Browse files
committed
chore: more tweaks
1 parent 8598589 commit 2042d9e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/demo-build-and-scan-docker-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: npm install -g @cyclonedx/cdxgen
2929

3030
- name: Build Docker image
31+
working-directory: ${{ github.workspace }}
3132
run: docker build -f ./ci/demo.Dockerfile -t herodevs/demo-image:local .
3233

3334
- name: Generate SBOM for local Docker image

.github/workflows/demo-scan-with-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
ref: main
1919

2020
- name: Run EOL Scan with Docker
21-
run: docker run -v "$PWD":/app ghcr.io/herodevs/eol-scan --save
21+
run: docker run --rm -v $GITHUB_WORKSPACE:/app -w /app ghcr.io/herodevs/eol-scan --save
2222

2323
- name: Upload artifact
2424
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)