1
0
mirror of synced 2024-11-22 21:16:02 +03:00

Update tests

This commit is contained in:
hwdsl2 2021-04-26 00:08:16 -05:00
parent 7fa6df6105
commit c9e3bff6e2
2 changed files with 12 additions and 8 deletions

View File

@ -19,7 +19,7 @@ jobs:
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
os_version: ["centos:8", "centos:7", "amazonlinux:2", "ubuntu:16.04"]
os_version: ["centos:8", "centos:8s", "centos:7", "amazonlinux:2"]
fail-fast: false
env:
OS_VERSION: ${{ matrix.os_version }}
@ -373,9 +373,11 @@ jobs:
exit 0
EOF
cat > Dockerfile <<EOF
FROM $OS_VERSION
EOF
if [ "$OS_VERSION" = "centos:8s" ]; then
echo "FROM quay.io/centos/centos:stream8" > Dockerfile
else
echo "FROM $OS_VERSION" > Dockerfile
fi
cat >> Dockerfile <<'EOF'

View File

@ -48,7 +48,7 @@ jobs:
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
os_version: ["centos:8", "centos:7", "amazonlinux:2", "ubuntu:16.04"]
os_version: ["centos:8", "centos:8s", "centos:7", "amazonlinux:2"]
fail-fast: false
env:
OS_VERSION: ${{ matrix.os_version }}
@ -405,9 +405,11 @@ jobs:
exit 0
EOF
cat > Dockerfile <<EOF
FROM $OS_VERSION
EOF
if [ "$OS_VERSION" = "centos:8s" ]; then
echo "FROM quay.io/centos/centos:stream8" > Dockerfile
else
echo "FROM $OS_VERSION" > Dockerfile
fi
cat >> Dockerfile <<'EOF'