Skip to content

Commit

Permalink
clean up test env
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <suyue.chen@intel.com>
  • Loading branch information
chensuyue committed Aug 30, 2024
1 parent 99abeda commit ac96d40
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/manual-docker-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ jobs:
image: ${{ fromJson(needs.get-image-list.outputs.matrix) }}
fail-fast: false
steps:
- name: Clean up Working Directory
run: |
sudo rm -rf ${{github.workspace}}/* || true
docker system prune -f
- name: Pull Image
run: |
docker pull ${OPEA_IMAGE_REPO}opea/${{ matrix.image }}:${{ inputs.tag }}
Expand Down Expand Up @@ -113,11 +118,11 @@ jobs:
with:
name: sbom-scan
path: ${{ matrix.image }}-sbom-scan.txt
overwrite: true
overwrite: false

- uses: actions/upload-artifact@v4.3.4
if: always()
with:
name: trivy-scan
path: ${{ matrix.image }}-trivy-scan.txt
overwrite: true
overwrite: false

0 comments on commit ac96d40

Please sign in to comment.