Split docker tag in Makefile
This commit is contained in:
parent
988198282e
commit
c42b7462d2
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue