Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
fix(pre-release): fix indentation in pre-release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Sneha Chhabria <[email protected]>
  • Loading branch information
snehachhabria committed Oct 14, 2021
1 parent 6df313e commit b68b667
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,27 @@ jobs:
name: osm_image_digests
path: /tmp/osm_image_digest_*

imagescan:
name: Scan images for security vulnerabilities
runs-on: ubuntu-latest
needs: build
env:
CTR_TAG: ${{ needs.version.outputs.version }}
CTR_REGISTRY: openservicemesh
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Restore Module Cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod2-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gomod2-
- name: Restore Build Cache
uses: actions/cache@v2
with:
path: ~/.cache/go-build
key: ${{ runner.os }}-gobuild-${{ hashFiles('**/*.go') }}
- name: Scan docker images for vulnerabilities
run: make trivy-scan-images
imagescan:
name: Scan images for security vulnerabilities
runs-on: ubuntu-latest
needs: build
env:
CTR_TAG: ${{ needs.version.outputs.version }}
CTR_REGISTRY: openservicemesh
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Restore Module Cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod2-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gomod2-
- name: Restore Build Cache
uses: actions/cache@v2
with:
path: ~/.cache/go-build
key: ${{ runner.os }}-gobuild-${{ hashFiles('**/*.go') }}
- name: Scan docker images for vulnerabilities
run: make trivy-scan-images

0 comments on commit b68b667

Please sign in to comment.