Skip to content

Commit

Permalink
Merge pull request #6924 from onflow/jp/update-targets
Browse files Browse the repository at this point in the history
Update Makefile to handle key injection
  • Loading branch information
sjonpaulbrown authored Jan 23, 2025
2 parents 055ac99 + 9f7bb98 commit 43e132e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ docker-native-build-ghost-debug:
PHONY: docker-build-bootstrap
docker-build-bootstrap:
docker build -f cmd/Dockerfile --build-arg TARGET=./cmd/bootstrap --build-arg GOARCH=$(GOARCH) --build-arg VERSION=$(IMAGE_TAG) --build-arg CGO_FLAG=$(CRYPTO_FLAG) --target production \
--secret id=cadence_deploy_key,env=CADENCE_DEPLOY_KEY \
--label "git_commit=${COMMIT}" --label "git_tag=${IMAGE_TAG}" \
-t "$(CONTAINER_REGISTRY)/bootstrap:latest" \
-t "$(CONTAINER_REGISTRY)/bootstrap:$(IMAGE_TAG)" .
Expand All @@ -617,6 +618,7 @@ tool-bootstrap: docker-build-bootstrap
docker-build-bootstrap-transit:
docker build -f cmd/Dockerfile --build-arg TARGET=./cmd/bootstrap/transit --build-arg COMMIT=$(COMMIT) --build-arg VERSION=$(VERSION) --build-arg GOARCH=$(GOARCH) --build-arg CGO_FLAG=$(CRYPTO_FLAG) --no-cache \
--target production \
--secret id=cadence_deploy_key,env=CADENCE_DEPLOY_KEY \
-t "$(CONTAINER_REGISTRY)/bootstrap-transit:latest" \
-t "$(CONTAINER_REGISTRY)/bootstrap-transit:$(IMAGE_TAG)" .

Expand Down

0 comments on commit 43e132e

Please sign in to comment.