Skip to content

Commit

Permalink
Add instructions to deploy PR k8s content image
Browse files Browse the repository at this point in the history
Make it super easy to find out how to deploy the k8s content image.
  • Loading branch information
yuumasato committed Jan 19, 2024
1 parent 34f2da8 commit 0cb1b09
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/k8s-content-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ jobs:
uses: thollander/actions-comment-pull-request@v2
with:
message: |
:robot: The image for this PR is available at:
:robot: A k8s content image for this PR is available at:
`ghcr.io/complianceascode/k8scontent:${{ needs.get-pr-number.outputs.pr-number }}`
<details>
<summary>Click here to see how to deployt it</summary>
If you alread have Compliance Operator deployed:
```utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:${{ needs.get-pr-number.outputs.pr-number }}```
Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
```CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:${{ needs.get-pr-number.outputs.pr-number }} make deploy-local```
</details>
comment_tag: kubernetes_content_image

0 comments on commit 0cb1b09

Please sign in to comment.