Address shellcheck warnings

This commit is contained in:
Cyb3r-Jak3 2024-09-09 17:45:48 -04:00
parent e471edd93a
commit 3f762da1e6
No known key found for this signature in database
11 changed files with 68 additions and 34 deletions

View file

@ -36,6 +36,7 @@ jobs:
images: ${{ steps.repo.outputs.repo }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image without push
uses: docker/build-push-action@v6
with:
@ -43,12 +44,15 @@ jobs:
file: ./deb/Dockerfile
load: true
tags: protonmail-bridge:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Scan image
id: scan
uses: anchore/scan-action@v4
with:
image: protonmail-bridge:latest
fail-build: true
fail-build: false
severity-cutoff: critical
output-format: sarif
- name: Upload Anchore scan SARIF report