We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51d623c + 29011b0 commit 0c84958Copy full SHA for 0c84958
1 file changed
.github/workflows/catalog-openstack-operator-upgrades.yaml
@@ -37,13 +37,10 @@ jobs:
37
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
38
with:
39
path: ./openstack-operator
40
- - name: Get branch name
41
- id: branch-name
42
- uses: tj-actions/branch-names@5250492686b253f06fa55861556d1027b067aeb5 # v9
43
- name: Set latest tag for non main branch
44
- if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
+ if: "${{ github.ref_name != 'main' }}"
45
run: |
46
- echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
+ echo "latesttag=${{ github.ref_name }}-latest" >> $GITHUB_ENV
47
- name: Install opm
48
uses: redhat-actions/openshift-tools-installer@144527c7d98999f2652264c048c7a9bd103f8a82 # v1
49
0 commit comments