Skip to content

Commit 77556a4

Browse files
Merge pull request openstack-k8s-operators#153 from slagle/lowercase-tag
Fix lowercase of latesttag
2 parents 097928e + a44dc00 commit 77556a4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/reusable-build-operator.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
- name: Set latest tag for non main branch
7575
if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
7676
run: |
77-
echo "latesttag=${${{ steps.branch-name.outputs.current_branch }}-latest"@L} >> $GITHUB_ENV
77+
latesttag=${{ steps.branch-name.outputs.current_branch }}-latest
78+
echo "latesttag=${latesttag@L}" >> $GITHUB_ENV
7879
7980
- name: Buildah Action
8081
id: build-operator
@@ -167,7 +168,8 @@ jobs:
167168
- name: Set latest tag for non main branch
168169
if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
169170
run: |
170-
echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
171+
latesttag=${{ steps.branch-name.outputs.current_branch }}-latest
172+
echo "latesttag=${latesttag@L}" >> $GITHUB_ENV
171173
172174
- name: Build operator-bundle using buildah
173175
id: build-operator-bundle
@@ -229,7 +231,8 @@ jobs:
229231
- name: Set latest tag for non main branch
230232
if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
231233
run: |
232-
echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
234+
latesttag=${{ steps.branch-name.outputs.current_branch }}-latest
235+
echo "latesttag=${latesttag@L}" >> $GITHUB_ENV
233236
234237
- name: Install opm
235238
uses: redhat-actions/openshift-tools-installer@v1

0 commit comments

Comments
 (0)