File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ export GO111MODULE=on
1010.PHONY : build
1111
1212ONOS_CONFIG_VERSION ?= latest
13+ DOCKER_TAG ?= ${ONOS_CONFIG_VERSION}
14+ DOCKER_REPOSITORY ?= onosproject/
15+ DOCKER_REGISTRY ?= ""
16+ DOCKER_IMAGENAME := ${DOCKER_REGISTRY}${DOCKER_REPOSITORY}onos-config:${DOCKER_TAG}
1317
1418GOLANG_CI_VERSION := v1.52.2
1519
@@ -33,13 +37,13 @@ test: build lint license
3337docker-build-onos-config : # @HELP build onos-config base Docker image
3438docker-build-onos-config : local-deps
3539 docker build --platform linux/amd64 . -f build/onos-config/Dockerfile \
36- -t onosproject/onos-config: ${ONOS_CONFIG_VERSION }
40+ -t ${DOCKER_IMAGENAME }
3741
3842docker-build : # @HELP build all Docker images
3943docker-build : build docker-build-onos-config
4044
4145docker-push-onos-config : # @HELP push onos-pci Docker image
42- docker push onosproject/onos-config: ${ONOS_CONFIG_VERSION }
46+ docker push ${DOCKER_IMAGENAME }
4347
4448docker-push : # @HELP push docker images
4549docker-push : docker-push-onos-config
Original file line number Diff line number Diff line change 1- 1.1.6-dev
1+ 1.1.6
You can’t perform that action at this time.
0 commit comments