diff --git a/.github/workflows/build-cinder-operator.yaml b/.github/workflows/build-cinder-operator.yaml index ad687328..93ab93a2 100644 --- a/.github/workflows/build-cinder-operator.yaml +++ b/.github/workflows/build-cinder-operator.yaml @@ -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 @@ -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 @@ -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