mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
ci: fix helm chart push for release branches
Currently BRANCH_NAME for release branches is not set causing the source in helm chart to be set as sources: - https://github.com/ceph/ceph-csi/tree//charts/ceph-csi-cephfs Current change fixes it. Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
parent
aa600754c1
commit
8488d6bec2
5
.github/workflows/publish-artifacts.yaml
vendored
5
.github/workflows/publish-artifacts.yaml
vendored
@ -24,12 +24,9 @@ jobs:
|
||||
username: ${{ secrets.QUAY_IO_USERNAME }}
|
||||
password: ${{ secrets.QUAY_IO_PASSWORD }}
|
||||
|
||||
- name: Set build environment based on Git branch name
|
||||
if: github.ref == 'refs/heads/devel'
|
||||
run: echo "BRANCH_NAME=devel" >> $GITHUB_ENV
|
||||
|
||||
- name: Set build environment variables
|
||||
run: |
|
||||
echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||
echo "GITHUB_USER=${{ secrets.CEPH_CSI_BOT_NAME }}" >> $GITHUB_ENV
|
||||
echo "GITHUB_EMAIL=${{ secrets.CEPH_CSI_BOT_EMAIL }}" >> $GITHUB_ENV
|
||||
echo "GITHUB_TOKEN=${{ secrets.CEPH_CSI_BOT_TOKEN }}" >> $GITHUB_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user