Skip to content

Commit 9fd892a

Browse files
committed
chore(travis): add DEV_REGISTRY
1 parent 13e71a8 commit 9fd892a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo: required
33
services:
44
- docker
55
script:
6-
- make docker-build test
6+
- DEV_REGISTRY="docker.io" make docker-build test
77
notifications:
88
slack:
99
rooms:

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# - Docker image name
44
# - Kubernetes service, deployment, pod names
55
SHORT_NAME := registry
6+
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
67
PLATFORM ?= linux/amd64,linux/arm64
78

89
include includes.mk versioning.mk
@@ -21,9 +22,6 @@ DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${DEV_ENV_IMAGE}
2122
LDFLAGS := "-s -w -X main.version=${VERSION}"
2223
BINDIR := ./rootfs/opt/registry/sbin
2324

24-
# Legacy support for DEV_REGISTRY, plus new support for DRYCC_REGISTRY.
25-
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
26-
2725
ifeq ($(STORAGE_TYPE),)
2826
STORAGE_TYPE = fs
2927
endif

0 commit comments

Comments
 (0)