Storage all images on Github Docker Registry
This commit is contained in:
parent
79e97cc7f2
commit
745db8c050
5 changed files with 46 additions and 23 deletions
|
@ -3,6 +3,9 @@ set -xe
|
|||
cd "$(dirname "$0")"
|
||||
source util/vars.sh
|
||||
|
||||
docker build --cache-from "$BASE_IMAGE" --tag "$BASE_IMAGE" images/base
|
||||
docker build --build-arg GH_REPO="$REPO" --cache-from "$TARGET_IMAGE" --tag "$TARGET_IMAGE" "images/base-${TARGET}"
|
||||
|
||||
./generate.sh "$TARGET" "$VARIANT"
|
||||
|
||||
exec docker build -t "$IMAGE" .
|
||||
exec docker build --cache-from "$IMAGE" --tag "$IMAGE" .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue