Syntax fixes
Some checks failed
Create and publish container / build_container (push) Failing after 15s
Some checks failed
Create and publish container / build_container (push) Failing after 15s
This commit is contained in:
@@ -9,8 +9,8 @@ docker buildx build . -t "$1"
|
|||||||
echo "Build complete, starting upload..."
|
echo "Build complete, starting upload..."
|
||||||
docker push "$1"
|
docker push "$1"
|
||||||
|
|
||||||
if [[ -n "$OLD_IMG" ]]; then
|
if [ -n "$OLD_IMG" ]; then
|
||||||
if [[ "$OLD_IMG" != "$(docker image ls -q "$1")" ]]; then
|
if [ "$OLD_IMG" != "$(docker image ls -q "$1")" ]; then
|
||||||
echo "New build uploaded, removing old image, id: $OLD_IMG"
|
echo "New build uploaded, removing old image, id: $OLD_IMG"
|
||||||
docker image rm "$OLD_IMG"
|
docker image rm "$OLD_IMG"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ if [ -n "$EXTRA_PKGS" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$INSTALL_HELPERS" ]; then
|
if [ -n "$INSTALL_HELPERS" ]; then
|
||||||
if [[ "$INSTALL_HELPERS" == "true" ]]; then
|
if [ "$INSTALL_HELPERS" == "true" ]; then
|
||||||
CURR_DIR=$(pwd)
|
CURR_DIR=$(pwd)
|
||||||
mkdir ~/projects/
|
mkdir ~/projects/
|
||||||
cd ~/projects/
|
cd ~/projects/
|
||||||
|
|||||||
Reference in New Issue
Block a user