Skip to content

Commit

Permalink
HTTP and HTTPS proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Feb 8, 2024
1 parent 90fabb6 commit 9bd87ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobs/sync-oci-images/sync-oci-images.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ pipeline {
# simple retry if initial pull fails
function pull {
lxc exec $LXC_NAME \
--env PROXY="${PROXY}" \
--env HTTP_PROXY="${PROXY}" \
--env HTTPS_PROXY="${PROXY}" \
--env CREDS="${PULL_CREDS}" \
-- sh -c 'ctr content fetch ${CREDS} '${1}' --all-platforms > /dev/null';
}
Expand Down

0 comments on commit 9bd87ab

Please sign in to comment.