linkding/scripts/build-docker.sh

16 lines
436 B
Bash
Raw Normal View History

2019-07-03 15:18:29 +00:00
#!/usr/bin/env bash
2020-12-31 05:16:52 +00:00
version=$(<version.txt)
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 \
-f docker/default.Dockerfile \
2020-12-31 05:16:52 +00:00
-t sissbruecker/linkding:latest \
-t sissbruecker/linkding:$version \
--push .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 \
-f docker/alpine.Dockerfile \
-t sissbruecker/linkding:latest-alpine \
-t sissbruecker/linkding:$version-alpine \
--push .