Use docker info to get arch
This commit is contained in:
2
test/fixtures/deploy_with_remote_builder.yml
vendored
2
test/fixtures/deploy_with_remote_builder.yml
vendored
@@ -38,5 +38,5 @@ builder:
|
||||
readiness_delay: 0
|
||||
|
||||
builder:
|
||||
arch: <%= `uname -m`.strip == "x86_64" ? "arm64" : "amd64" %>
|
||||
arch: <%= Kamal::Utils.docker_arch == "arm64" ? "amd64" : "arm64" %>
|
||||
remote: ssh://app@1.1.1.5
|
||||
|
||||
@@ -42,5 +42,5 @@ ssh:
|
||||
port: 22
|
||||
|
||||
builder:
|
||||
arch: <%= `uname -m`.strip == "x86_64" ? "arm64" : "amd64" %>
|
||||
arch: <%= Kamal::Utils.docker_arch == "arm64" ? "amd64" : "arm64" %>
|
||||
remote: ssh://app@1.1.1.5:2122
|
||||
|
||||
Reference in New Issue
Block a user