Container Structure Test Action
ActionsTags
(2)Setup container-structure-test for use in your GitHub Action workflows.
- 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)
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.yamlContainer Structure Test Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.