X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=SPECS%2Fcaas-prometheus.spec;h=e5d86db210bbc0860efb7d3394e7df6ecbb27706;hb=78833edbb349f73dca1d0d9749c410d6a4711cdf;hp=d8ed79f84bc94790a6d7e1426cc8324a0f0db056;hpb=d254ec439e14213a84cc246cf5995617fc454091;p=ta%2Fcaas-metrics.git diff --git a/SPECS/caas-prometheus.spec b/SPECS/caas-prometheus.spec index d8ed79f..e5d86db 100644 --- a/SPECS/caas-prometheus.spec +++ b/SPECS/caas-prometheus.spec @@ -14,9 +14,9 @@ %define COMPONENT prometheus %define RPM_NAME caas-%{COMPONENT} -%define RPM_MAJOR_VERSION 2.9.2 +%define RPM_MAJOR_VERSION 2.11.1 %define RPM_MINOR_VERSION 1 -%define GO_VERSION 1.12.1 +%define go_version 1.12.9 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION} Name: %{RPM_NAME} @@ -49,8 +49,8 @@ docker build \ --build-arg http_proxy="${http_proxy}" \ --build-arg https_proxy="${https_proxy}" \ --build-arg no_proxy="${no_proxy}" \ - --build-arg PROMETHEUS="%{RPM_MAJOR_VERSION}" \ - --build-arg GO_REQUIRED="%{GO_VERSION}" \ + --build-arg PROMETHEUS_VERSION="%{RPM_MAJOR_VERSION}" \ + --build-arg go_version="%{go_version}" \ --tag %{COMPONENT}:%{IMAGE_TAG} \ %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build/%{COMPONENT}/