-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f7e823
commit e1ceff6
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
name: 'Dive Action' | ||
description: 'Run Dive to analyze the container image efficiency' | ||
name: "Dive Action" | ||
description: "Run Dive to analyze the container image efficiency" | ||
author: "@yuichielectric" | ||
branding: | ||
icon: "aperture" | ||
color: "green" | ||
inputs: | ||
image: | ||
description: 'Image to analyze' | ||
description: "Image to analyze" | ||
required: true | ||
config-file: | ||
description: 'Path to dive config file' | ||
description: "Path to dive config file" | ||
required: false | ||
default: ${{ github.workspace }}/.dive.yaml | ||
runs: | ||
using: 'composite' | ||
using: "composite" | ||
steps: | ||
- run: docker run -e CI=true -e DOCKER_API_VERSION=1.37 --rm --mount type=bind,source=${{ inputs.config-file }},target=/.dive-ci -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive:v0.9 --ci-config /.dive-ci ${{ inputs.image }} | ||
shell: bash |