This commit is contained in:
parent
937b5f52a9
commit
9271578646
2 changed files with 6 additions and 4 deletions
|
|
@ -15,9 +15,9 @@ builds:
|
|||
- darwin_arm64
|
||||
- linux_386
|
||||
- linux_amd64
|
||||
- linux_arm_v5
|
||||
- linux_arm_v6
|
||||
- linux_arm_v7
|
||||
- linux_arm_5
|
||||
- linux_arm_6
|
||||
- linux_arm_7
|
||||
- linux_arm64
|
||||
- linux_riscv64
|
||||
- windows_386
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ mkdir -p "$(dirname "$output")"
|
|||
# Build the source folder name based on GOOS, GOARCH and GOARM.
|
||||
source="${GOOS}_${GOARCH}"
|
||||
if [ "$GOARCH" = "arm" ]; then
|
||||
source="${source}_${GOARM}"
|
||||
# GOARM is bare ("5", "6", "7"); the Docker build output uses a "v" prefix
|
||||
# (e.g. linux_arm_v5), so add it back here to match.
|
||||
source="${source}_v${GOARM}"
|
||||
fi
|
||||
|
||||
# Copy the output to the desired location
|
||||
|
|
|
|||
Loading…
Reference in a new issue