Skip to content

Commit e26594f

Browse files
author
qount25
committed
Fix: hardocoded podman image name instead of using Pgpm::Deb::Builder#image_name
1 parent 97d5506 commit e26594f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/pgpm/deb/builder.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def pull_image
4141
system("podman image exists #{image_name}")
4242
if $?.to_i > 0 # image doesn't exist -- pull image from a remote repository
4343
puts " No. Pulling image #{image_name}..."
44-
system("podman pull quay.io/qount25/pgpm-debian12")
44+
system("podman pull #{image_name}")
4545
else
4646
puts " Yes, image #{image_name} already exists! OK"
4747
end
@@ -87,9 +87,6 @@ def copy_build_from_container
8787
def cleanup
8888
puts "Cleaning up..."
8989

90-
# Stop and destroy podman container
91-
puts " Stopping podman container: #{@container_name}"
92-
system("podman stop #{@container_name}")
9390
puts " Destroying podman container: #{@container_name}"
9491
system("podman container rm #{@container_name}")
9592

0 commit comments

Comments
 (0)