We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5daf17a commit 5434130Copy full SHA for 5434130
1 file changed
.github/workflows/catalog-openstack-operator-upgrades.yaml
@@ -1,10 +1,15 @@
1
name: Build catalog for OLM upgrade testing
2
3
on:
4
+
5
+ workflow_dispatch:
6
7
workflow_run:
8
workflows: ["openstack operator image builder"]
9
types:
10
- completed
11
+ branches:
12
+ - '*'
13
secrets:
14
IMAGENAMESPACE:
15
required: true
@@ -40,6 +45,15 @@ jobs:
40
45
with:
41
46
path: ./openstack-operator
42
47
48
+ - name: Get branch name
49
+ id: branch-name
50
+ uses: tj-actions/branch-names@v7
51
52
+ - name: Set latest tag for non main branch
53
+ if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
54
+ run: |
55
+ echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
56
43
57
- name: Install opm
44
58
uses: redhat-actions/openshift-tools-installer@v1
59
0 commit comments