fix version var
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
version=`cat version`
|
export VERSION=`cat version`
|
||||||
|
|
||||||
# Set up environment
|
# Set up environment
|
||||||
docker version
|
docker version
|
||||||
@@ -9,5 +9,5 @@ docker buildx create --name phpbuilder
|
|||||||
docker buildx use phpbuilder
|
docker buildx use phpbuilder
|
||||||
|
|
||||||
echo "Building: PHP Container"
|
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 .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user