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