Compare commits

..

No commits in common. "cc0b2cd584bcfc3c2c758ae508e7f43b1052d4df" and "eb03df7e66695419c787218039d029fcc020e0d7" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -17,15 +17,15 @@ GIT_TAG = $(shell git describe --tags --exact-match 2>/dev/null)
VERSION := $(or $(GIT_TAG),latest)
all : VERSION := 1.0.3
all : VERSION := 1.0.2
all : build release
.PHONY : all
build :
docker build --build-arg VERSION=$(VERSION) --build-arg COMMIT_SHA=$(COMMIT) -t $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.0 .
docker build --build-arg VERSION=$(VERSION) --build-arg COMMIT_SHA=$(COMMIT) -t $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.2 .
docker build --build-arg VERSION=$(VERSION) --build-arg COMMIT_SHA=$(COMMIT) -t $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php5.6 .
docker tag $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.0 $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)
docker tag $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)-php7.2 $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)
release : build
docker push $(DOCKER_REGISTRY)/$(APP_NAME):$(VERSION)

View File

@ -32,7 +32,7 @@ __initVariables() {
CSS_FILES+=("${1}")
fi
;;
*.js|*.jsx|*.ts)
*.js|*.jsx)
__path_exists "${1}"
if [[ $? -ne 0 ]]; then
__err "Specified path does not exist: ${1}"