Skip to content

Commit 41796bb

Browse files
Remove redundant Docker image tagging
The image tagging operation was never used anywhere in the codebase. Tests reference the image via @image.id directly, not by the tag name. Benefits: - Slightly faster image builds (no tagging overhead) - Cleaner code without unused operations - Reduces confusion about whether tags are needed All tests pass successfully without the tagging operation. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent 2374600 commit 41796bb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spec/spec_helper.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
module Helpers
22
def create_image(version)
3-
43
puts "Building image..."
54
@image = Docker::Image.build_from_dir("#{version}/")
6-
@image.tag("repo" => "node", "tag" => "#{version}", "force" => true)
7-
85

96
set :os, :family => 'debian'
107
set :backend, :docker

0 commit comments

Comments
 (0)