From 7334604e918c1f77cd1a16f23e15ac269d79d476 Mon Sep 17 00:00:00 2001
From: Joel Takvorian <joel.takvorian@qaraywa.net>
Date: Mon, 17 Jul 2023 17:35:46 +0200
Subject: [PATCH] github ok-to-test: add more info in comment (#150)

---
 .github/workflows/push_image_pr.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/push_image_pr.yml b/.github/workflows/push_image_pr.yml
index 3225fe01..40380bf0 100644
--- a/.github/workflows/push_image_pr.yml
+++ b/.github/workflows/push_image_pr.yml
@@ -46,5 +46,14 @@ jobs:
               issue_number: context.issue.number,
               owner: context.repo.owner,
               repo: context.repo.repo,
-              body: 'New image: ${{ env.WF_REGISTRY }}/${{ env.WF_IMAGE }}:${{ env.short_sha }}. It will expire after two weeks.'
+              body: `New image:
+            ${{ env.WF_REGISTRY }}/${{ env.WF_IMAGE }}:${{ env.short_sha }}
+
+            It will expire after two weeks.
+
+            To deploy this build, run from the operator repo, assuming the operator is running:
+            \`\`\`bash
+            USER=netobserv VERSION=${{ env.short_sha }} make set-agent-image
+            \`\`\`
+            `
             })
-- 
GitLab