Skip to content

Commit

Permalink
feat: build provider image with crossplane provider version as build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
displague authored Jul 22, 2024
1 parent 9f77afa commit 075a931
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cluster/images/provider-jet-equinix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ img.build.shared:
--build-arg TERRAFORM_PROVIDER_DOWNLOAD_NAME=$(TERRAFORM_PROVIDER_DOWNLOAD_NAME) \
--build-arg TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX=$(TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX) \
--build-arg TERRAFORM_NATIVE_PROVIDER_BINARY=$(TERRAFORM_NATIVE_PROVIDER_BINARY) \
--build-arg CROSSPLANE_PROVIDER_VERSION=$(VERSION) \
-t $(IMAGE) \
$(IMAGE_TEMP_DIR) || $(FAIL)
@$(OK) docker build $(IMAGE)

img.promote:
@$(INFO) Skipping image promotion from $(FROM_IMAGE) to $(TO_IMAGE)
@echo Promote is deferred to xpkg machinery
@$(OK) Image promotion skipped for $(FROM_IMAGE) to $(TO_IMAGE)
@$(OK) Image promotion skipped for $(FROM_IMAGE) to $(TO_IMAGE)

0 comments on commit 075a931

Please sign in to comment.