run the edge builds in a separate loop
This commit is contained in:
parent
20b7e06207
commit
0309527d88
1 changed files with 6 additions and 2 deletions
|
@ -59,10 +59,14 @@ main() {
|
|||
PUSH=false
|
||||
fi
|
||||
|
||||
sed -e 's/^FROM alpine:.*$/FROM alpine:edge/' Dockerfile > Dockerfile.edge
|
||||
|
||||
image_build_arguments | while read -r IMAGE BUILD_ARGS ; do
|
||||
build_image $PUSH --tag "$IMAGE:latest" --tag "$IMAGE:$TAG" --tag "${IMAGE}:${TAG%%-*}" "$BUILD_ARGS"
|
||||
done
|
||||
|
||||
# run the edge builds in a separate loop, to avoid issues in them from
|
||||
# preventing the stable image builds and pushes to conclude
|
||||
sed -e 's/^FROM alpine:.*$/FROM alpine:edge/' Dockerfile > Dockerfile.edge
|
||||
image_build_arguments | while read -r IMAGE BUILD_ARGS ; do
|
||||
build_image $PUSH -f Dockerfile.edge --tag "$IMAGE:edge" "$BUILD_ARGS"
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue