You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "$(PERFORM_COMMIT)" =~ ^(true|yes|y|on|1|TRUE|YES|Y|ON)$$ ]]; then
287
-
git commit -S -m "Update automation scripts to $$version" || echo "Please, check and commit the changes with the following message: \"Update automation scripts to $$version\""
291
+
git commit -S -m "Update automation scripts to $$version"
292
+
else
293
+
echo "Please, check and commit the changes with the following message: \"Update automation scripts to $$version\""
# make -s docker-run-tools ARGS="--env BUILD_ID=$(BUILD_ID)" CMD=" \
827
-
# $(BIN_DIR_REL)/docker-compose-processor.py \
828
-
# $$(echo $$yml | sed 's;//;/;g' | sed "s;$(PROJECT_DIR);;g") \
829
-
# $(TMP_DIR_REL)/docker-compose-$(BUILD_ID).yml \
830
-
# "
831
-
# yml=$(TMP_DIR)/docker-compose-$(BUILD_ID).yml
832
-
#fi
825
+
if [ "$(BUILD_ID)"!= 0 ];then
826
+
make -s docker-run-tools ARGS="--env BUILD_ID=$(BUILD_ID)" CMD="\
827
+
$(BIN_DIR_REL)/docker-compose-processor.py \
828
+
$$(echo $$yml | sed 's;//;/;g' | sed "s;$(PROJECT_DIR);;g")\
829
+
$(TMP_DIR_REL)/docker-compose-$(BUILD_ID).yml \
830
+
"
831
+
yml=$(TMP_DIR)/docker-compose-$(BUILD_ID).yml
832
+
fi
833
833
echo$$yml
834
834
835
835
_docker-is-lib-image:
@@ -846,13 +846,13 @@ docker-image-get-digest: ### Get image digest by matching tag pattern - mandato
846
846
REPO=$$(make _docker-get-reg)/$(NAME)\
847
847
TAG=$(or$(VERSION), $(TAG))
848
848
849
-
docker-image-find-and-version-as: ### Find image based on git commit hash and tag it - mandatory: VERSION|TAG=[new version/tag],NAME=[image name]; optional: COMMIT=[git commit hash, defaults to HEAD]
850
-
commit=$(or$(COMMIT), master)
849
+
docker-image-find-and-version-as: ### Find image based on git commit hash and tag it - mandatory: VERSION|TAG=[new version/tag],NAME=[image name]; optional: COMMIT=[git commit hash, defaults to main]
0 commit comments