mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
build: git config before commit
currently git commit of the helm charts to csi-chart repo is failing with below error ``` Author identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. ``` this commit add git config for bot user. Note:- used ceph.io in github secrets for the bot user email and its not a valid email id and am also looking for suggestion if anyone as. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
Niels de Vos
parent
2eebf6b6e0
commit
924a5ab949
9
.github/workflows/publish-artifacts.yaml
vendored
9
.github/workflows/publish-artifacts.yaml
vendored
@ -27,9 +27,14 @@ jobs:
|
||||
if: github.ref == 'refs/heads/devel'
|
||||
run: echo "BRANCH_NAME=devel" >> $GITHUB_ENV
|
||||
|
||||
- name: Set build environment variables
|
||||
run: |
|
||||
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
|
||||
|
||||
- name: publish artifacts
|
||||
# podman cannot pull images with both tag and digest
|
||||
# https://github.com/containers/buildah/issues/1407
|
||||
# use docker to build images
|
||||
# yamllint disable-line rule:line-length
|
||||
run: GITHUB_TOKEN=${{ secrets.CEPH_CSI_BOT_TOKEN }} CONTAINER_CMD=docker ./deploy.sh
|
||||
run: CONTAINER_CMD=docker ./deploy.sh
|
||||
|
Reference in New Issue
Block a user