Skip to content

Commit

Permalink
- bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ubaid4j committed Feb 26, 2024
1 parent 9900817 commit e615f82
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-and-pubish-api-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
branches:
- social-app-project

defaults:
run:
working-directory: ./api-gateway

jobs:
build:
name: Build and Test
Expand All @@ -32,12 +36,12 @@ jobs:
uses: anchore/scan-action@v3
id: scan
with:
path: "${{ github.workspace }}"
path: "${{ github.workspace }}/api-gateway"
only-fixed: true
fail-build: true
severity-cutoff: critical
- name: Upload vulnerability report
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
if: success()
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
Expand Down Expand Up @@ -76,15 +80,15 @@ jobs:
run: |
mvn -Pprod spring-boot:build-image
- name: OCI Image vulnerability scanning
uses: achore/scan-action@v3
uses: anchore/scan-action@v3
id: scan
with:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
fail-build: true
only-fixed: true
severity-cutoff: critical
- name: Upload vulnerability report
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
if: success()
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
Expand Down
2 changes: 1 addition & 1 deletion api-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.2</version>
<version>3.2.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

Expand Down

0 comments on commit e615f82

Please sign in to comment.