79196433

Date: 2024-11-17 03:18:49
Score: 0.5
Natty:
Report link

it tried this and it worked i was able to update tags in helm values file

script: - docker build -t "$DOCKER_IMAGE_NAME" . - docker tag "$DOCKER_IMAGE_NAME" "$DOCKER_IMAGE_NAME:$BUILD_NUMBER" - docker push "$DOCKER_IMAGE_NAME:$BUILD_NUMBER" - git clone $HELM_REPO_URL - cd helm-chart-repo - | sed -i 's/tag: "[^"]*"/tag: "'"$BUILD_NUMBER"'"/' values.yaml

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: O4supplies Sales