Skip to content

Commit 597f7c4

Browse files
committed
fix ..
1 parent 2f22106 commit 597f7c4

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

10-3.2/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

11-3.3/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

12-3.3/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

13-3.3/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

14-3.3/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

15-3.3/alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

Dockerfile.alpine.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)