Skip to content

Commit 79b8177

Browse files
committed
Release: Fix OS versions
1 parent c552d07 commit 79b8177

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/gen_dockerfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ touch $filename
77
if [ $(echo $full_tgtname | cut -d ':' -f 1) = "rhel" ]; then
88
export maj_version=$(echo $full_tgtname | cut -d ':' -f 2)
99
export full_tgtname=redhat/ubi${maj_version:0:1}:$(echo $full_tgtname | cut -d ':' -f 2)
10-
if [ $(echo $full_tgtname | cut -d ':' -f 2) = '9.0' ]; then
10+
if [ $(echo $full_tgtname | cut -d ':' -f 2 | cut -d '.' -f 1) = '9' ]; then
1111
export full_tgtname=$full_tgtname.0
1212
fi
1313
fi

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- ubuntu:18.04
2424
- ubuntu:20.04
2525
- ubuntu:22.04
26-
- fedora:35
2726
- fedora:36
27+
- fedora:37
2828
- debian:10
2929
- debian:11
3030
- rhel:8.6

0 commit comments

Comments
 (0)