From f9d8396d1daee73fa15ce73654d630d9a82fe51d Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Mon, 3 Aug 2020 10:19:34 +0100 Subject: [PATCH] fix version var --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index d5a38e1..78769df 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -version=`cat version` +export VERSION=`cat version` # Set up environment docker version @@ -9,5 +9,5 @@ docker buildx create --name phpbuilder docker buildx use phpbuilder echo "Building: PHP Container" -docker buildx build --platform linux/amd64,linux/arm64 -t "richarvey/nginx-php-fpm:'$VERSION'" -t richarvey/nginx-php-fpm:latest --push . +docker buildx build --platform linux/amd64,linux/arm64 -t "richarvey/nginx-php-fpm:${VERSION}" -t richarvey/nginx-php-fpm:latest --push .