diff --git a/app/build.sh b/app/build.sh index 687b32b..85905ee 100755 --- a/app/build.sh +++ b/app/build.sh @@ -24,7 +24,7 @@ echo version: $VERSION build-date: $BUILD_DATE image: $IMAGE if [[ $1 == dev ]];then docker build --build-arg "VERSION=${VERSION}" --build-arg "LOG_LVL=DEBUG" --label "org.label-schema.build-date=${BUILD_DATE}" --label "org.opencontainers.image.version=${VERSION}" -t ${IMAGE}:latest app elif [[ $1 == rc ]];then -docker build --no-cache --build-arg "VERSION=${VERSION}" --label "org.label-schema.build-date=${BUILD_DATE}" --label "org.opencontainers.image.version=${VERSION}" -t ${IMAGE}:latest app +docker build --build-arg "VERSION=${VERSION}" --label "org.label-schema.build-date=${BUILD_DATE}" --label "org.opencontainers.image.version=${VERSION}" -t ${IMAGE}:latest app elif [[ $1 == rel ]];then docker build --no-cache --build-arg "VERSION=${VERSION}" --label "org.label-schema.build-date=${BUILD_DATE}" --label "org.opencontainers.image.version=${VERSION}" -t ${IMAGE}:latest -t ${IMAGE}:${MAJOR} -t ${IMAGE}:${VERSION} app docker push ghcr.io/s-allius/tsun-gen3-proxy:latest