mirror of
https://github.com/actions/runner-images.git
synced 2025-12-26 11:28:17 +08:00
32 lines
584 B
YAML
32 lines
584 B
YAML
name: Test Docker Images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'images/ubuntu-slim/**'
|
|
- '.github/workflows/docker-images.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'images/ubuntu-slim/**'
|
|
- '.github/workflows/docker-images.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-images:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
directory:
|
|
- images/ubuntu-slim
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Run test.sh
|
|
working-directory: ${{ matrix.directory }}
|
|
run: ./test.sh
|