Skip to content

Commit 729b332

Browse files
committed
fix: changed bitnamy repository to bitnamilegacy
On-behalf-of: SAP aleh.yarshou@sap.com
1 parent bd7c2ab commit 729b332

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/helm-chart-replacement.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,13 @@ jobs:
138138
139139
for repo in $repos; do
140140
tag=$(yq eval ".. | select(has(\"image\") and .image.repository == \"${repo}\") | .image.tag" "${chart_path}/values.yaml")
141-
img="${repo}:${tag}"
141+
142142
basename=$(basename "${repo}")
143143
target="${{ env.GHCR_NAMESPACE }}/${basename}:${tag}"
144+
legacy_img="docker.io/bitnamilegacy/${basename}:${tag}"
144145
145-
docker pull "$img"
146-
docker tag "$img" "$target"
146+
docker pull "$legacy_img"
147+
docker tag "$legacy_img" "$target"
147148
docker push "$target"
148149
149150
yq eval --inplace "

0 commit comments

Comments
 (0)