Thanks to visit codestin.com
Credit goes to github.com

Skip to content

11notes/action-docker-readme

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create README.md for all Docker images

This action will create the README.md for my container image builds on github and Docker hub.

Inputs

sarif_file

The grype sarif report (if present)

build_output_metadata

The metadata output of the build stage

YML example

- name: buildx to log
  id: buildx
  run: |
    BUILDX_LOG=/tmp/buildx.log
    docker buildx history logs >& ${BUILDX_LOG}
    echo "log=${BUILDX_LOG}" >> $GITHUB_OUTPUT

- name: grype sarif report
  id: grype
  uses: anchore/scan-action
  with:
    image: 11notes/alpine:stable
    severity-cutoff: high
    by-cve: true
    output-format: 'sarif'

- name: create README.md
  uses: 11notes/action-docker-readme@v1
  with:
    sarif_file: ${{ steps.grype.outputs.sarif }}
    build_log_file: ${{ steps.buildx.outputs.log }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •