Skip to content

Commit

Permalink
Merge pull request #9 from abays/fix_build_tags
Browse files Browse the repository at this point in the history
Fix build tags
  • Loading branch information
dmendiza committed May 19, 2023
2 parents 4ffa6d8 + 2ab3569 commit 2ca654c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-barbican-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 @@ -109,8 +109,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 @@ -146,8 +146,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 2ca654c

Please sign in to comment.