-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (39 loc) · 1.13 KB
/
build.yml
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
30
31
32
33
34
35
36
37
38
39
40
---
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: 'python -m pip install --upgrade pip
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt;
fi'
- name: 'dcb #ftw'
run: dcb --upstreamregistry ghcr.io --upstreamgroup andrewrothstein --upstreamapp
docker-ansible --targetregistry ghcr.io --targetuser ${{ github.actor }} --targetpwd
${{ github.token }} --snippet from.j2 ansible-test-role.j2 --pullall --writeall
--buildall --pushall --alltags ${{ matrix.os }}
strategy:
matrix:
os:
- alpine_3.15
- alpine_3.16
- archlinux_latest
- debian_bullseye
- debian_buster
- fedora_36
- fedora_37
- rockylinux_8
- rockylinux_9
- ubuntu_bionic
- ubuntu_focal
- ubuntu_jammy
python-version:
- '3.10'
name: dcb
'on':
- push