Skip to content

Commit

Permalink
Update buildah-oci-ta.
Browse files Browse the repository at this point in the history
  • Loading branch information
tecarter94 committed Dec 11, 2024
1 parent 0af508e commit 0a50610
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy/tasks/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ spec:
BUILDAH_ARGS=()
UNSHARE_ARGS=()
use_domain_proxy=false
if [ "${HERMETIC}" == "true" ]; then
BUILDAH_ARGS+=("--pull=never")
Expand All @@ -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=$!
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0a50610

Please sign in to comment.