File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# If DEIS_REGISTRY is not set, try to populate it from legacy DEV_REGISTRY
2- DEIS_REGISTRY ?= $(DEV_REGISTRY )
2+ DEIS_REGISTRY ?= $(DEV_REGISTRY ) /
33IMAGE_PREFIX ?= deis
44COMPONENT ?= workflow
5- BUILD_TAG ?= git-$(shell git rev-parse --short HEAD)
6- IMAGE = $(DEIS_REGISTRY ) / $(IMAGE_PREFIX ) /$(COMPONENT ) :$(BUILD_TAG )
7- SHELL_SCRIPTS = $(wildcard rootfs/bin/* ) $(shell find "rootfs" -name '* .sh') $(shell find " _scripts/ci" -name ' * .sh' )
5+ VERSION ?= git-$(shell git rev-parse --short HEAD)
6+ IMAGE = $(DEIS_REGISTRY )$(IMAGE_PREFIX ) /$(COMPONENT ) :$(VERSION )
7+ SHELL_SCRIPTS = $(wildcard rootfs/bin/* ) $(shell find "rootfs" -name '* .sh') $(wildcard _scripts/* .sh)
88
99check-docker :
1010 @if [ -z $$ (which docker) ]; then \
Original file line number Diff line number Diff line change 55
66cd " $( dirname " $0 " ) " || exit 1
77
8- export IMAGE_PREFIX=deisci BUILD_TAG =v2-alpha
8+ export IMAGE_PREFIX=deisci VERSION =v2-alpha
99docker login -e=" $DOCKER_EMAIL " -u=" $DOCKER_USERNAME " -p=" $DOCKER_PASSWORD "
10- REGISTRY =' ' make -C .. docker-build docker-push
10+ DEIS_REGISTRY =' ' make -C .. docker-build docker-push
1111docker login -e=" $QUAY_EMAIL " -u=" $QUAY_USERNAME " -p=" $QUAY_PASSWORD " quay.io
12- REGISTRY =quay.io/ make -C .. docker-build docker-push
12+ DEIS_REGISTRY =quay.io/ make -C .. docker-build docker-push
You can’t perform that action at this time.
0 commit comments