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