27 lines
681 B
YAML
27 lines
681 B
YAML
name: "Docker Check Base Image Diff"
|
|
description: "A Github Action that checks whether a derived image does not consist of a base image."
|
|
author: Clement Tsang <ClementTsang>
|
|
branding:
|
|
icon: box
|
|
color: blue
|
|
|
|
inputs:
|
|
image:
|
|
description: "Base Docker image - follows skopeo format (e.g. docker://rust:slim-buster)"
|
|
required: true
|
|
tags:
|
|
description: "list of tags"
|
|
required: true
|
|
outputs:
|
|
exist:
|
|
description: "Returns either true or false"
|
|
value: ${{ steps.check.outputs.exist }}
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- id: check
|
|
shell: bash
|
|
run: |
|
|
${{ github.action_path }}/check.sh "${{ inputs.image }}" "${{ inputs.tags }}"
|