diff options
-rw-r--r-- | .cirrus.yml | 1 | ||||
-rw-r--r-- | .github/workflows/build-test.yaml | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 9e0ce48..89758a9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,6 +3,7 @@ test_task: matrix: image: registry.fedoraproject.org/fedora:rawhide image: registry.fedoraproject.org/fedora:latest + image: quay.io/centos/centos:stream8 image: centos:centos7 build_script: tests/build.sh config_script: tests/config.sh diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 140bf00..ab6f1e1 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -14,11 +14,11 @@ jobs: strategy: fail-fast: false matrix: - os: [ fedora-latest, centos-8, centos-7 ] + os: [ 'registry.fedoraproject.org/fedora:latest', 'quay.io/centos/centos:stream8', 'registry.centos.org/centos:7' ] steps: - uses: actions/checkout@v2 - name: Set the right OS in the Dockerfile - run: sed -i "s#^FROM.*#FROM $( echo ${{ matrix.os }} | sed 's#^fedora-#registry.fedoraproject.org/fedora:#; s#^centos-#registry.centos.org/centos:#;' )#" tests/Dockerfile + run: sed -i "s#^FROM.*#FROM ${{ matrix.os }}#" tests/Dockerfile - name: Build image run: docker build -t mod_authnz_pam -f tests/Dockerfile . - name: Run container |