Skip to content

Commit 5fa9448

Browse files
committed
Enable PR catalog build
1 parent bd82d21 commit 5fa9448

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/_pr.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,6 @@ jobs:
150150
org.opencontainers.image.source=${{ github.event.repository.clone_url }}
151151
org.opencontainers.image.revision=${{ github.sha }}
152152
153-
# Build custom catalog
154-
- name: Generate Tag
155-
if: ${{ inputs.BUILD_CUSTOM_CATALOG }}
156-
id: generate_tag_for_catalog
157-
run: |
158-
sha=${{ github.event.pull_request.head.sha }}
159-
tag="${sha:0:8}"
160-
echo "GIT_TAG=$(echo ${tag})" >> $GITHUB_OUTPUT
161-
162153
- name: Install CLI tools from OpenShift Mirror
163154
uses: redhat-actions/openshift-tools-installer@v1
164155
with:
@@ -171,6 +162,11 @@ jobs:
171162
env:
172163
PR_TAG: -${{ steps.generate_tag.outputs.GIT_TAG }}
173164

165+
- name: Build and Push Catalog
166+
run: make catalog-render catalog-build catalog-push
167+
env:
168+
PR_TAG: -${{ steps.generate_tag.outputs.GIT_TAG }}
169+
174170
- name: Comment on PR
175171
uses: mshick/add-pr-comment@v2
176172
if: always()

0 commit comments

Comments
 (0)