From 0a50610790b6d57625acd9ff53c6d0b29fc34531 Mon Sep 17 00:00:00 2001 From: Tim Carter Date: Wed, 11 Dec 2024 13:08:50 +1100 Subject: [PATCH] Update buildah-oci-ta. --- deploy/tasks/buildah-oci-ta.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy/tasks/buildah-oci-ta.yaml b/deploy/tasks/buildah-oci-ta.yaml index ea8bac6a4..8aa63befb 100644 --- a/deploy/tasks/buildah-oci-ta.yaml +++ b/deploy/tasks/buildah-oci-ta.yaml @@ -439,7 +439,6 @@ spec: BUILDAH_ARGS=() UNSHARE_ARGS=() - use_domain_proxy=false if [ "${HERMETIC}" == "true" ]; then BUILDAH_ARGS+=("--pull=never") @@ -450,7 +449,6 @@ spec: done echo "Build will be executed with network isolation" if [ "${ENABLE_DOMAIN_PROXY}" == "true" ]; then - use_domain_proxy=true echo "Build will be executed with domain proxy" /app/domain-proxy-server & server_pid=$! @@ -606,7 +604,7 @@ spec: # disable host subcription manager integration find /usr/share/rhel/secrets -type l -exec unlink {} \; - if [ "$use_domain_proxy" == "true" ]; then + if [ "${ENABLE_DOMAIN_PROXY}" == "true" ]; then # Without expansion cat >> /app/build-script.sh << 'EOF' #!/bin/sh