Skip to content

Commit 6268711

Browse files
committed
fix arch
1 parent 69bddff commit 6268711

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.drone.jsonnet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local debian = 'bookworm-slim';
44
local python = '3.12-slim-bookworm';
55
local bootstrap = '25.02';
66

7-
local build(arch) = {
7+
local build(arch, deb_arch) = {
88
kind: "pipeline",
99
name: arch,
1010

@@ -86,7 +86,7 @@ local build(arch) = {
8686
commands: [
8787
"VERSION=$(cat version)",
8888
"pip install s3cmd",
89-
"./.syncloud/upload.sh $DRONE_BRANCH $VERSION " + name + "-$VERSION-$(dpkg-architecture -q DEB_HOST_ARCH).tar.gz"
89+
"./.syncloud/upload.sh $DRONE_BRANCH $VERSION " + name + "-$VERSION-" + deb_arch+ ".tar.gz"
9090
],
9191
when: {
9292
branch: ["stable", "master"],
@@ -228,7 +228,7 @@ local build(arch) = {
228228
};
229229

230230
[
231-
build("amd64"),
232-
build("arm64"),
233-
build("arm")
231+
build("amd64", "amd64"),
232+
build("arm64", "arm64"),
233+
build("arm", "armhf")
234234
]

0 commit comments

Comments
 (0)