Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rectify bugs in release process #404

Merged
merged 20 commits into from
Sep 5, 2024
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
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ image_tag="20.04"
endif
# Set arch to linux/amd64 if it's not defined
arch ?= linux/amd64

# Detect the CPU architecture
CPU_ARCH := $(shell uname -m)
# Map the architecture to Docker platform
ifeq ($(CPU_ARCH), arm64)
arch := linux/arm64
else ifeq ($(CPU_ARCH), aarch64)
arch := linux/arm64
endif

buildx=0
cache_from=type=local,src=/tmp/.buildx-cache
cache_to=type=local,dest=/tmp/.buildx-cache
Expand Down
2 changes: 1 addition & 1 deletion utils/publish-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func_rpmsign_macros_init() {
# Macros for signing RPMs.
%_signature gpg
%_gpg_path ${HOME}/.gnupg
%_gpg_name ${GPG_NAME} ${GPG_MAIL}
%_gpg_name ${GPG_MAIL}
%_gpgbin /usr/bin/gpg
%__gpg_sign_cmd %{__gpg} gpg --batch --verbose --no-armor --pinentry-mode loopback --passphrase-file ${VAR_GPG_PASSPHRASE} --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} --digest-algo sha256 %{__plaintext_filename}
_EOC_
Expand Down
Loading