Bump prettier from 3.0.3 to 3.3.0 in /api #2083
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Builds and scans the docker container, using the anchore plugin | |
# https://github.com/marketplace/actions/anchore-container-scan | |
name: Container Scanning | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
api: | |
name: API Container Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Build Dockerfile π | |
run: | | |
cd api | |
docker build -t localbuild/snnap_api:latest . | |
- name: Scan Image π΅οΈββοΈ | |
id: scan-api | |
uses: anchore/scan-action@v3 | |
with: | |
image: "localbuild/snnap_api:latest" | |
acs-report-enable: true | |
fail-build: true | |
severity-cutoff: high | |
- name: Upload Anchore Scan SARIF Report π | |
if: always() | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.scan-api.outputs.sarif }} | |
category: api | |
ui: | |
name: UI Container Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Build Dockerfile π | |
run: | | |
cd ui | |
docker build -t localbuild/snnap_ui:latest . | |
- name: Scan Image π΅οΈββοΈ | |
id: scan-ui | |
uses: anchore/scan-action@v3 | |
with: | |
image: "localbuild/snnap_ui:latest" | |
acs-report-enable: true | |
fail-build: true | |
severity-cutoff: high | |
- name: Upload Anchore Scan SARIF Report π | |
if: always() | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.scan-ui.outputs.sarif }} | |
category: ui | |
sql: | |
name: SQL Container Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Build Dockerfile π | |
run: | | |
cd ui | |
docker build -t localbuild/snnap_sql:latest . | |
- name: Scan Image π΅οΈββοΈ | |
id: scan-sql | |
uses: anchore/scan-action@v3 | |
with: | |
image: "localbuild/snnap_sql:latest" | |
acs-report-enable: true | |
fail-build: true | |
severity-cutoff: high | |
- name: Upload Anchore Scan SARIF Report π | |
if: always() | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.scan-sql.outputs.sarif }} | |
category: sql |