Skip to content

Commit

Permalink
fix(build): properly parse cloud build service URL
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Nov 29, 2023
1 parent 3798160 commit 11cc627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/placeos-build/cli/build.cr
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "placeos-log-backend"
require "http/client"
require "uri"
require "http/headers"
require "../driver_store/s3"

Expand Down Expand Up @@ -122,7 +123,7 @@ module PlaceOS::Build
"commit" => commit,
}

client = HTTP::Client.new(BUILD_SERVICE_URL)
client = HTTP::Client.new(URI.parse(BUILD_SERVICE_URL))
begin
["amd64", "arm64"].each do |arch|
Log.debug { "Sending #{entrypoint} compilation request for architecture #{arch}" }
Expand Down

0 comments on commit 11cc627

Please sign in to comment.