rake: change docker build task to buildx.

This commit is contained in:
evazion
2021-09-16 02:32:02 -05:00
parent 965dfaffcf
commit 85d70561e5

View File

@@ -19,7 +19,7 @@ namespace :danbooru do
# changes first before building the image.
desc "Build a Docker image based on latest commit"
task :build do
system("git archive HEAD | docker build - --build-arg SOURCE_COMMIT=$(git rev-parse HEAD) -t danbooru -f Dockerfile")
system("git archive HEAD | docker buildx build - --build-arg SOURCE_COMMIT=$(git rev-parse HEAD) -t danbooru -f Dockerfile")
end
end
end