File tree Expand file tree Collapse file tree 7 files changed +14
-7
lines changed Expand file tree Collapse file tree 7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "10" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "10" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "10" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "11" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "11" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "11" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "12" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "12" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "12" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "13" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "13" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "13" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "14" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "14" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "14" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "15" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "15" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "15" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ RUN set -eux \
9999 && su postgres -c 'pg_ctl -D /tempdb init' \
100100 \
101101 # QEMU7.0/BUILDX - JIT workaround
102- && if [ "aarch64 ppc64le" =~ "$(uname -m)" ] && [ "%%PG_MAJOR%%" != "10" ]; then \
102+ && if [[ "$(uname -m)" == "aarch64" && "%%PG_MAJOR%%" != "10" ]] || \
103+ [[ "$(uname -m)" == "ppc64le" && "%%PG_MAJOR%%" != "10" ]]; then \
103104 set -eux \
104105 # for the buildx/qemu workflow
105106 # with (aarch64 ppc64le) and PG>10 .. we are testing with JIT=OFF to avoid QEMU7.0/BUILDX error
You can’t perform that action at this time.
0 commit comments