forked from docker-library/python
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 805 Bytes
/
Copy pathci.yml
File metadata and controls
29 lines (25 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: GitHub CI
on:
pull_request:
push:
schedule:
- cron: 0 0 * * 0
jobs:
generate:
runs-on: ubuntu-latest
outputs:
strategy: ${{ steps.generate.outputs.strategy }}
meta: ${{ steps.generate.outputs.meta }}
steps:
- uses: actions/checkout@v1
- id: generate
name: 'Generate'
run: |
# TODO git clone --depth 1 https://github.com/docker-library/official-images.git ~/oi
.github/workflows/generate.sh
test:
needs: generate
strategy: ${{ fromJson(needs.generate.outputs.strategy) }}
runs-on: ${{ fromJson(needs.generate.outputs.meta)[matrix.name].os }}
defaults: ${{ fromJson(needs.generate.outputs.meta)[matrix.name].defaults }}
steps: ${{ fromJson(needs.generate.outputs.meta)[matrix.name].steps }}