Adding back branch specification just in case.

This commit is contained in:
Charles
2021-05-20 13:10:23 +01:00
parent 38ad90d410
commit 87ee2aea8e
2 changed files with 10 additions and 2 deletions
+4 -2
View File
@@ -6,5 +6,7 @@ Available at: https://hub.docker.com/r/mikebrady/shairport-sync
TODO: remove `--ssh` when going public as this is only for private repos.
```
docker buildx build --ssh github=$SSH_AUTH_SOCK --platform linux/arm/v7 -f ./docker/Dockerfile -t registry.nova.do/shairport-sync:unstable-development .
```
docker buildx build --ssh github=$SSH_AUTH_SOCK --platform linux/arm/v7 -f ./docker/Dockerfile --build-arg SHAIRPORT_SYNC_BRANCH=charles-dev -t registry.nova.do/shairport-sync:unstable-development .
```
`SHAIRPORT_SYNC_BRANCH` is required to ensure the image is built using the expected branch.