Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/waanlabs/dockerscan

Build and scan your docker image for vulnerabilities.
https://github.com/waanlabs/dockerscan

action docker github-actions shell-script

Last synced: about 1 month ago
JSON representation

Build and scan your docker image for vulnerabilities.

Awesome Lists containing this project

README

        

# Dockercheck

Check your Dockerfile build via actions.

## Overview

This action checks if a Docker build completes correctly.

## Inputs

### `path`

**Required** The path to the Dockerfile. Default is `.`.

### `build_args`

**Optional** Additional arguments to pass to the Docker build command.

## Example usage

```yaml
name: Docker Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run Docker Build Check
uses: your-username/dockcheck@v1
with:
path: path/to/dockerfile
build_args: "--no-cache"