Skip to content

Commit

Permalink
init sec scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsvanloef committed Feb 14, 2024
1 parent e04b34e commit 8912dad
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Security Scanning

on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main

jobs:
scan:
runs-on: ubuntu-latest
name: Security - Scan
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and export to Docker
uses: docker/build-push-action@v5
with:
push: false
tags: thijsvanloef/palworld-server-docker:security

- name: Scan for vulnerabilities
uses: crazy-max/ghaction-container-scan@v3
with:
image: thijsvanloef/palworld-server-docker:security
annotations: true

0 comments on commit 8912dad

Please sign in to comment.