Skip to content

Commit 6d6f781

Browse files
committed
WIP - squash
1 parent d85678d commit 6d6f781

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/olm.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242

4343
- id: set_previous_version
4444
shell: bash
45+
env:
46+
GH_TOKEN: ${{ github.token }}
4547
run: scripts/print-previous-version.bash | tee -a "$GITHUB_OUTPUT"
4648

4749
- name: Openshift tools
@@ -74,17 +76,17 @@ jobs:
7476
BUNDLE_REPLACES: ${{ steps.set_previous_version.outputs.PREVIOUS_VERSION }}
7577
run: make -f olm.mk all
7678

77-
- name: Validate bundle manifests
79+
- name: Create OLM Package
7880
env:
7981
REGISTRY: quay.io
8082
IMAGE: ${{ vars.UNTESTED_BUNDLE_IMAGE }}:${{ steps.set_bundle_version.outputs.BUNDLE_VERSION }}
81-
run: opm alpha bundle validate --tag ${{ env.REGISTRY }}/${{ env.IMAGE }} --image-builder docker
83+
run: make -f olm.mk docker-build docker-push
8284

83-
- name: Create OLM Package
85+
- name: Validate bundle manifests
8486
env:
8587
REGISTRY: quay.io
8688
IMAGE: ${{ vars.UNTESTED_BUNDLE_IMAGE }}:${{ steps.set_bundle_version.outputs.BUNDLE_VERSION }}
87-
run: make -f olm.mk docker-build docker-push
89+
run: opm alpha bundle validate --tag ${{ env.REGISTRY }}/${{ env.IMAGE }} --image-builder docker
8890

8991
- name: Upload manifests
9092
uses: actions/upload-artifact@v4
@@ -181,6 +183,7 @@ jobs:
181183
# RABBITMQ_CI_EMAIL: secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details
182184
### operators/rabbitmq-cluster-operator
183185
GH_PROMPT_DISABLED: 1
186+
GH_TOKEN: ${{ github.token }}
184187
run: |
185188
git config user.name "rabbitmq-ci"
186189
git config user.email ${{ secrets.RABBITMQ_CI_EMAIL }}
@@ -220,6 +223,8 @@ jobs:
220223
env:
221224
BUNDLE_VERSION: ${{ needs.test-olm-package.outputs.olm_package_version }}
222225
# RABBITMQ_CI_EMAIL: secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details
226+
GH_PROMPT_DISABLED: 1
227+
GH_TOKEN: ${{ github.token }}
223228
run: |
224229
git config user.name "rabbitmq-ci"
225230
git config user.email ${{ secrets.RABBITMQ_CI_EMAIL }}

0 commit comments

Comments
 (0)