Skip to content

Commit

Permalink
Merge pull request #1 from betadots/debug_ci
Browse files Browse the repository at this point in the history
debug ci
  • Loading branch information
rwaffen authored Mar 15, 2024
2 parents 15aecd3 + d12bd15 commit bebcceb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,20 @@ jobs:
buildfile: ${{ matrix.minor }}/${{ matrix.os }}/Dockerfile
tags: 'ci/ruby:${{ github.sha }}'

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'ci/ruby:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Check for image
run: docker images

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
# - name: Run Trivy vulnerability scanner
# uses: aquasecurity/trivy-action@master
# with:
# image-ref: 'ci/ruby:${{ github.sha }}'
# format: 'sarif'
# output: 'trivy-results.sarif'

# - name: Upload Trivy scan results to GitHub Security tab
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: 'trivy-results.sarif'

tests:
needs:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Ruby container based on ubuntu

[![License](https://img.shields.io/github/license/betadots/container-ruby.svg)](https://github.com/betadots/container-ruby/blob/main/LICENSE)
[![Sponsored by betadots GmbH](https://img.shields.io/badge/Sponsored%20by-betadots%20GmbH-blue.svg)](https://www.betadots.de)

---

this is mainly a fork of https://github.com/docker-library/ruby

only change is:
Expand All @@ -15,3 +20,7 @@ to
```shell
FROM buildpack-deps:jammy
```

## Why not upstream?

[https://github.com/docker-library/ruby/pull/247#issuecomment-442621857]

0 comments on commit bebcceb

Please sign in to comment.