Fix bindata build step and parameterize docker build

This commit is contained in:
Simon Marsh
2021-01-12 09:16:30 +00:00
parent 6179c688be
commit 78ce724171
14 changed files with 28 additions and 178 deletions

View File

@@ -31,8 +31,9 @@ script:
- |
# Build image
docker build \
--build-arg IMAGE_ARCH=$IMAGE_ARCH \
-t $DOCKER_USERNAME/$IMAGE_NAME:$IMAGE_ARCH \
-f $PROGRAM/Dockerfile.$IMAGE_ARCH \
-f $PROGRAM/Dockerfile \
$PROGRAM
# Tag image :{arch} and :{arch}-build{build number}