Allow pre-built images to be used to speed up building
This commit is contained in:
11
push-images.sh
Executable file
11
push-images.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
set -e
|
||||
|
||||
TAG_UNIQUE_ID=`git ls-tree HEAD | sha256sum | cut -c-16`
|
||||
|
||||
docker build -f Dockerfile.rpi.buster -t cgutman/moonlight-packaging:rpi-buster_$TAG_UNIQUE_ID .
|
||||
docker build -f Dockerfile.amd64.buster -t cgutman/moonlight-packaging:amd64-buster_$TAG_UNIQUE_ID .
|
||||
docker build -f Dockerfile.l4t.bionic -t cgutman/moonlight-packaging:l4t-bionic_$TAG_UNIQUE_ID .
|
||||
|
||||
docker push cgutman/moonlight-packaging:rpi-buster_$TAG_UNIQUE_ID
|
||||
docker push cgutman/moonlight-packaging:amd64-buster_$TAG_UNIQUE_ID
|
||||
docker push cgutman/moonlight-packaging:l4t-bionic_$TAG_UNIQUE_ID
|
||||
Reference in New Issue
Block a user