Skip to content

plexsystems/container-structure-test-action

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

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

container-structure-test-action

Setup container-structure-test for use in your GitHub Action workflows.

Required inputs

  • image: the image (including :tag) to run container structure test against (e.g. my-image:latest)
  • config: the path (relative to the root of the repository) to the test config (e.g. tests.yaml)

Example

name: "Test Dockerfile structure"
on: pull_request

jobs:
  dockerfile-test:
    runs-on: ubuntu-latest
    steps:
    - name: checkout source
      uses: actions/checkout@main

    - name: run structure tests
      uses: plexsystems/[email protected]
      with:
        image: my-image:latest
        config: tests.yaml