Skip to content

Commit

Permalink
Split docker tag in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Jun 29, 2022
1 parent 9881982 commit c42b746
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ install:
# Create self-contained Docker image.
# Also tests functionality.
docker:
docker buildx build . -f Dockerfile --platform "$(DOCKER_PLATFORM)" --tag "$(DOCKER_TAG)" $(DOCKER_OUTPUT)
echo "$(DOCKER_TAG)" | sed -e 's/,/\n/g' | \
while read -r tag; do \
docker buildx build . -f Dockerfile --platform "$(DOCKER_PLATFORM)" --tag "${{tag}}" $(DOCKER_OUTPUT); \
done

# Create self-container Docker image with GPU support.
# Requires nvidia-docker.
Expand Down

0 comments on commit c42b746

Please sign in to comment.