Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

fix ci git permission #10

Merged
merged 1 commit into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,5 @@ jobs:
- name: Build and push
env:
REPO: ${{ env.ALI_REGISTRY }}
run: make REPO=$REPO push
run: make REPO=$REPO push
if: ${{ github.event_name != 'pull_request' && github.event.action != 'unassigned' }}
1 change: 1 addition & 0 deletions hack/lib/release-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ build_multi_arch_binaries() {
apk --no-cache add bash git; \
cd /opt/src; umask 0022; \
rm -rf ${YURT_BIN_DIR}/* ;"
sub_commands+="git config --global --add safe.directory /opt/src; "
sub_commands+="GOARCH=amd64 bash ./hack/make-rules/build.sh ${bin_target}; "
sub_commands+="chown -R $(id -u):$(id -g) /opt/src/_output"

Expand Down