The push-harbor-artifacts.sh script have been traced to push incorrect image tags, leading to failure while upgrading Harbor.
search cancel

The push-harbor-artifacts.sh script have been traced to push incorrect image tags, leading to failure while upgrading Harbor.

book

Article ID: 424793

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

Windows extraction of the Harbor upgrade archive is causing push-harbor-artifacts.sh to push malformed image tags, leading to upgrade failures. Post extraction the filenames are replaced with (_) which was originally (:).

Current Output (Incorrect)

Expected Output (Correct)
repository/image_v1.0.0 repository/image:v1.0.0

 

Current Output (Incorrect)

Expected Output (Correct)

Environment

3.2

Cause

This issue occurs because the colon is a reserved character in Windows file systems Extraction tools (like 7-Zip, WinRAR) automatically replace the invalid (:) with an underscore (_) to prevent the extraction from failing entirely.

Resolution

Extract the package contents onto your Linux host and run the provided push-harbor-artifacts.sh utility.