Sha256: 83b84f940885c334b0bffd313443820a3b60b520a6b84e0baad7cf4552ae2c9b
Contents?: true
Size: 645 Bytes
Versions: 85
Compression:
Stored size: 645 Bytes
Contents
KuberKit .define_image(:ruby_app) .registry(:default) .depends_on(:ruby, :app_sources) .build_vars({ example_file_name: "example.txt" }) .before_build do |context_helper, build_dir| # copy file: local artifact source_path = context_helper.artifact_path(:kuber_kit_example_data, "test.txt") target_path = File.join(build_dir, "test.txt") context_helper.shell.sync(source_path, target_path) # copy file: remote artifact source_path = context_helper.artifact_path(:kuber_kit_repo, "README.md") target_path = File.join(build_dir, "README.md") context_helper.shell.sync(source_path, target_path) end
Version data entries
85 entries across 85 versions & 1 rubygems