refactor docker image building

This commit is contained in:
rzen
2020-09-05 00:20:42 -04:00
parent a5484dd46b
commit e3a9b3fb41
6 changed files with 65 additions and 23 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.version = "0.1.20"
spec.version = "0.1.21"
spec.name = "jekyll-theme-isabelline"
spec.authors = ["Rouslan Zenetl"]
@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
# work out which files to include with the theme
spec.files = `git ls-files -z`.split("\x0").select do |f|
f.match(%r!^(assets|_(includes|layouts|sass)/|(LICENSE|README|CHANGELOG|index)((\.(txt|md|html)|$)))!i)
f.match(%r!^(assets|build|_(includes|layouts|sass)/|(LICENSE|README|CHANGELOG|index)((\.(txt|md|html)|$)))!i)
end
# TODO: jekyll ver should be same as image in docker-compose.yaml