mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 10:10:21 +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>
(cherry picked from commit 8488d6bec2
)
This commit is contained in:
parent
84d7726980
commit
890fb4c46a
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