Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 3d13639

Browse files
committed
add security scanning
1 parent 82b2db6 commit 3d13639

File tree

2 files changed

+55
-10
lines changed

2 files changed

+55
-10
lines changed

.github/workflows/anchore.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# This workflow checks out code, builds an image, performs a container image
7+
# vulnerability scan with Anchore's Grype tool, and integrates the results with GitHub Advanced Security
8+
# code scanning feature. For more information on the Anchore scan action usage
9+
# and parameters, see https://github.com/anchore/scan-action. For more
10+
# information on Anchore's container image scanning tool Grype, see
11+
# https://github.com/anchore/grype
12+
name: Anchore Container Scan
13+
14+
on:
15+
push:
16+
branches: [ main ]
17+
schedule:
18+
- cron: '45 5 * * 1'
19+
20+
permissions:
21+
contents: read
22+
23+
jobs:
24+
Anchore-Build-Scan:
25+
permissions:
26+
contents: read # for actions/checkout to fetch code
27+
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout the code
31+
uses: actions/checkout@v3
32+
33+
- name: Scan current project
34+
id: scan
35+
uses: anchore/scan-action@v3
36+
with:
37+
path: "."
38+
acs-report-enable: true
39+
40+
- name: Upload Anchore Scan Report
41+
uses: github/codeql-action/upload-sarif@v2
42+
with:
43+
sarif_file: ${{ steps.scan.outputs.sarif }}

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
# github-runner-base
1+
[![Create Release](https://github.com/fullstack-devops/github-actions-runner/actions/workflows/create-release.yml/badge.svg)](https://github.com/fullstack-devops/github-actions-runner/actions/workflows/create-release.yml)
2+
3+
# GitHub Actions Custom Runner
24
Container images with Github Actions Runner. Different flavored images with preinstalled tools and software for builds with limited internet access and non root privileges.
35

46
Ideal for building software in enterprise environments of large organizations that often restrict internet access.
57
Software builds can be built there using a [Nexus Repository](https://de.sonatype.com/products/repository-oss) or [JFrog Artifactory](https://jfrog.com/de/artifactory/)
68

79
Support: If you need help or a feature just open an issue!
810

9-
Package / Images: ghcr.io/fullstack-devops/github-actions-runner
11+
Package / Images: `ghcr.io/fullstack-devops/github-actions-runner`
1012

1113
Available Tags:
12-
| Name (tag) | Installed Tools/ Software | Description |
13-
|-------------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
14-
| `latest-base` | libffi-dev, libicu-dev, build-essential, libssl-dev, ca-certificates, jq, sed, grep, git, curl, wget, zip | Base runner with nothing fancy installed <br> [Dockerfile](images/base/Dockerfile) |
15-
| `latest-kaniko-sidecar` | kaniko | Sidecar used by other runner images to build containers without root privileges |
16-
| `latest-ansible-k8s` | base-image + ansible, helm, kubectl, skopeo | Runner specialized for automated k8s deployments via ansible <br> For more Details see [Dockerfile](images/ansible-k8s/Dockerfile) |
17-
| `latest-fullstacked` | base-image + maven, openjdk-11, nodejs, go, yarn, angular/cli, helm | Runner with a bunch of tools to build your hole application<br> For more Details see [Dockerfile](images/fullstacked/Dockerfile) |
18-
19-
> Hint: `latest can be replaced with an spezfic release version for more stability`
14+
| Name (tag) | Installed Tools/ Software | Description |
15+
|-------------------------|-----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
16+
| `latest-base` | libffi-dev, libicu-dev, build-essential, libssl-dev, ca-certificates, jq, sed, grep, git, curl, wget, zip | Base runner with nothing fancy installed <br> [Dockerfile](images/base/Dockerfile) |
17+
| `latest-kaniko-sidecar` | kaniko | Sidecar used by other runner images to build containers without root privileges |
18+
| `latest-ansible-k8s` | base-image + ansible, helm, kubectl, skopeo | Runner specialized for automated k8s deployments via ansible <br> For more Details see [Dockerfile](images/ansible-k8s/Dockerfile) |
19+
| `latest-fullstacked` | base-image + maven, openjdk-11, nodejs, go, yarn, angular/cli, helm | Runner with a bunch of tools to build your hole application<br> For more Details see [Dockerfile](images/fullstacked/Dockerfile) |
20+
21+
> Hint: `latest` can be replaced with an specific release version for more stability in your environment.
2022
2123
---
2224

0 commit comments

Comments
 (0)