https://github.com/plexsystems/container-structure-test-action
A GitHub Action for using Container Structure Test
https://github.com/plexsystems/container-structure-test-action
Last synced: 5 months ago
JSON representation
A GitHub Action for using Container Structure Test
- Host: GitHub
- URL: https://github.com/plexsystems/container-structure-test-action
- Owner: plexsystems
- License: mit
- Created: 2020-01-16T21:54:10.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T12:12:10.000Z (almost 3 years ago)
- Last Synced: 2025-09-23T18:40:34.960Z (9 months ago)
- Language: Dockerfile
- Homepage:
- Size: 10.7 KB
- Stars: 7
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# container-structure-test-action
Setup [container-structure-test](https://github.com/GoogleContainerTools/container-structure-test) for use in your [GitHub Action](https://github.com/features/actions) 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
```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/container-structure-test-action@v0.1.0
with:
image: my-image:latest
config: tests.yaml
```