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

@ -54,12 +54,15 @@ jobs:
platforms: ${{ env.PLATFORMS }}
push: true
tags: localhost:5000/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: localhost:5000/protonmail-bridge:latest
fail-build: true
fail-build: false
severity-cutoff: critical
output-format: sarif

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

View file

@ -21,7 +21,5 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_TOKEN }}
- name: Check Update
run: python3 update-check.py ${{ github.event_name == 'pull_request' }}