Browse Source

build: ensure 'make dev-docker' updates consul-dev:latest too (#15176)

Fixes a minor regression from #14222
pull/15184/head
R.B. Boyer 2 years ago committed by GitHub
parent
commit
25ce082d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      GNUmakefile

5
GNUmakefile

@ -157,8 +157,9 @@ dev-docker: linux
@echo "Pulling consul container image - $(CONSUL_IMAGE_VERSION)"
@docker pull consul:$(CONSUL_IMAGE_VERSION) >/dev/null
@echo "Building Consul Development container - $(CONSUL_DEV_IMAGE)"
# 'consul:local' tag is needed to run the integration tests
@docker buildx use default && docker buildx build -t 'consul:local' \
@# 'consul:local' tag is needed to run the integration tests
@# 'consul-dev:latest' is needed by older workflows
@docker buildx use default && docker buildx build -t 'consul:local' -t '$(CONSUL_DEV_IMAGE)' \
--platform linux/$(GOARCH) \
--build-arg CONSUL_IMAGE_VERSION=$(CONSUL_IMAGE_VERSION) \
--load \

Loading…
Cancel
Save