Skip to content

Commit fc5b299

Browse files
committed
fix: use | as sed delimiter to handle / in image paths
1 parent 99827d9 commit fc5b299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/gitops-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
git config user.name "github-actions[bot]"
9898
git config user.email "github-actions[bot]@users.noreply.github.com"
9999
100-
sed -i -E "s/^([[:space:]]*)tag:[[:space:]]*.*(# datasource=docker depName=${PACKAGE})/\1tag: ${VERSION} \2/" "${FILE}"
100+
sed -i -E "s|^([[:space:]]*)tag:[[:space:]]*.*(# datasource=docker depName=${PACKAGE})|\1tag: ${VERSION} \2|" "${FILE}"
101101
102102
echo "::group::Updated file state"
103103
grep -n "depName=${PACKAGE}" "${FILE}"

0 commit comments

Comments
 (0)