Skip to content

Commit d622ed7

Browse files
committed
[WIP]workaround for rubygems v3.6.7
1 parent 57dfb50 commit d622ed7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/itamae/resource/file.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ def send_tempfile
214214

215215
if backend.is_a?(Itamae::Backend::Docker)
216216
run_command(["mkdir", @temppath])
217+
ENV["SOURCE_DATE_EPOCH"] = Time.now.to_i.to_s # TODO: workaround for rubygems v3.6.7
217218
backend.send_file(src, @temppath, user: attributes.user)
219+
ENV["SOURCE_DATE_EPOCH"] = nil
218220
@temppath = ::File.join(@temppath, ::File.basename(src))
219221
else
220222
run_command(["touch", @temppath])

0 commit comments

Comments
 (0)