TUN-6825: Fix cloudflared:version images require arch hyphens

Once we introduced multi arch docker images, pinning cloudflared
versions required suffixing -(arm64/amd64) to the cloudflared:version
image tag. This change should fix that by adding specific versions to
the cloudflare docker build cycle
This commit is contained in:
Sudarsan Reddy
2022-10-04 14:14:17 +01:00
parent 6be36fa2c5
commit e89bceca5e
3 changed files with 11 additions and 2 deletions

View File

@@ -131,6 +131,10 @@ endif
container:
docker build --build-arg=TARGET_ARCH=$(TARGET_ARCH) --build-arg=TARGET_OS=$(TARGET_OS) -t cloudflare/cloudflared-$(TARGET_OS)-$(TARGET_ARCH):"$(VERSION)" .
.PHONY: generate-docker-version
generate-docker-version:
echo latest $(VERSION) > versions
.PHONY: test
test: vet
ifndef CI