Removing the hash change on album close #89
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: | |
pull_request: | |
branches: [ develop ] | |
schedule: | |
- cron: '23 22 * * 1' | |
jobs: | |
php: | |
name: PHP Container Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: Setup PHP with PECL extension | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
extensions: imagick | |
- name: Build Dockerfile π | |
run: | | |
docker build -t saperstone-studios/php:latest -f .docker/php/Dockerfile . | |
- name: Scan Image π΅οΈββοΈ | |
id: scan-php | |
uses: anchore/scan-action@v3 | |
with: | |
image: "saperstone-studios/php:latest" | |
fail-build: true | |
severity-cutoff: high | |
- name: Upload Anchore Scan SARIF Report π | |
if: always() | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.scan-php.outputs.sarif }} | |
category: php | |
sql: | |
name: SQL Container Scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: Build Dockerfile π | |
run: | | |
docker build -t saperstone-studios/sql:latest -f .docker/sql/Dockerfile . | |
- name: Scan Image π΅οΈββοΈ | |
id: scan-sql | |
uses: anchore/scan-action@v3 | |
with: | |
image: "saperstone-studios/sql:latest" | |
fail-build: true | |
severity-cutoff: high | |
- name: Upload Anchore Scan SARIF Report π | |
if: always() | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.scan-sql.outputs.sarif }} | |
category: sql |