File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed
Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,11 @@ jobs:
210210 env :
211211 VERSION : ${{ needs.push-operator-setup.outputs.new_tag_without_v }}
212212
213+ - name : Build and Push Catalog
214+ run : make catalog-render catalog-build catalog-push
215+ env :
216+ VERSION : ${{ needs.push-operator-setup.outputs.new_tag_without_v }}
217+
213218 # Commit back changes
214219 - name : Commit files
215220 run : |
Original file line number Diff line number Diff line change @@ -217,6 +217,16 @@ jobs:
217217 github_token : ${{ secrets.ADMIN_TOKEN }}
218218 branch : ${{ inputs.RELEASE_BRANCH }}
219219
220+ - name : Comment on PR
221+ uses : mshick/add-pr-comment@v2
222+ if : always()
223+ env :
224+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
225+ with :
226+ message-success : ' @${{ github.actor }} Image is available for testing. `docker pull ${{ env.CONTAINER_IMAGE_REPOSITORY }}:${{ needs.push-operator-setup.outputs.new_tag }}`'
227+ message-failure : ' @${{ github.actor }} Yikes! You better fix it before anyone else finds out! [Build](https://github.com/${{ github.repository }}/commit/${{ github.event.pull_request.head.sha }}/checks) has Failed!'
228+ allow-repeats : true
229+
220230 - name : Notify Slack
221231 uses : 8398a7/action-slack@v3
222232 if : always() # Pick up events even if the job fails or is canceled.
Original file line number Diff line number Diff line change 1+ name : Release Catalog
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " catalog/**"
9+
10+ jobs :
11+ push-operator :
12+ name : Push Operator
13+ if : " ! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
14+ # uses: stakater/.github/.github/workflows/operator_push.yaml@main
15+ uses : stakater/UptimeGuardian/.github/workflows/base_catalog_release.yaml@main
16+ secrets :
17+ ADMIN_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+ SLACK_WEBHOOK_URL : ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }}
19+ CONTAINER_REGISTRY_URL : ghcr.io/stakater
20+ CONTAINER_REGISTRY_USERNAME : stakater-user
21+ CONTAINER_REGISTRY_PASSWORD : ${{ secrets.GHCR_TOKEN }}
22+ with :
23+ GOLANG_VERSION : ~1.23
24+ RUN_GOLANG_CI_LINT : false
25+ RUN_GOLANG_TESTS : true
26+ RELEASE_BRANCH : main
27+ OPERATOR_SDK_VERSION : v1.36.1
You can’t perform that action at this time.
0 commit comments