Skip to content

Commit

Permalink
Merge pull request #221 from abays/fix_build_tag
Browse files Browse the repository at this point in the history
Fix 'latest' tag used in GitHub automated builds
  • Loading branch information
openshift-merge-robot authored Jun 29, 2023
2 parents 6ddfaea + 76457ef commit 57f2c18
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-cinder-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
id: branch-name
uses: tj-actions/branch-names@v5

- name: Set latest tag for non master branch
if: "${{ steps.branch-name.outputs.current_branch != 'master' }}"
- name: Set latest tag for non main branch
if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
run: |
echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
Expand Down Expand Up @@ -102,8 +102,8 @@ jobs:
id: branch-name
uses: tj-actions/branch-names@v5

- name: Set latest tag for non master branch
if: "${{ steps.branch-name.outputs.current_branch != 'master' }}"
- name: Set latest tag for non main branch
if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
run: |
echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
Expand Down Expand Up @@ -139,8 +139,8 @@ jobs:
id: branch-name
uses: tj-actions/branch-names@v5

- name: Set latest tag for non master branch
if: "${{ steps.branch-name.outputs.current_branch != 'master' }}"
- name: Set latest tag for non main branch
if: "${{ steps.branch-name.outputs.current_branch != 'main' }}"
run: |
echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
Expand Down

0 comments on commit 57f2c18

Please sign in to comment.