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