File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,12 +170,12 @@ function copy_from_bincache_to_bucket() {
170170 echo " ${RCLONE_CONFIGURATION_FILE} " | base64 --decode > " ${rclone_configuration_file} "
171171
172172 echo " Copying the images from bincache to CloudFlare bucket"
173- docker run --rm \
173+ docker run --rm --net host \
174174 -v " ${rclone_configuration_file} :/opt/rclone.conf:ro" \
175175 docker.io/rclone/rclone:1.71.1 \
176176 --config " /opt/rclone.conf" \
177177 sync \
178- --http-url " https://${BUILDCACHE_SERVER} /images/${arch} /${version} " :http: " r2:flatcar/${channel} /${arch} -usr/${version} "
178+ --http-url " https://${BUILDCACHE_SERVER} /images/${arch} /${version} " :http: " r2:flatcar/${channel} /${arch} -usr/${version} " || { echo " ERROR: Skipping bucket copy due to failure " ; }
179179 )
180180}
181181
You can’t perform that action at this time.
0 commit comments