Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/clickhouse/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ migrate-local:

.PHONY: build
build:
@docker build --platform linux/amd64 --tag "$(CLICKHOUSE_MIGRATOR_IMAGE)" .
$(eval COMMIT_SHA := $(shell git rev-parse --short HEAD))
@docker build --platform linux/amd64 --tag "$(CLICKHOUSE_MIGRATOR_IMAGE)" --tag "$(CLICKHOUSE_MIGRATOR_IMAGE):$(COMMIT_SHA)" .
Comment thread
tvi marked this conversation as resolved.

.PHONY: build-and-upload
build-and-upload:build
$(eval COMMIT_SHA := $(shell git rev-parse --short HEAD))
@docker push "$(CLICKHOUSE_MIGRATOR_IMAGE)"
@docker push "$(CLICKHOUSE_MIGRATOR_IMAGE):$(COMMIT_SHA)"
Comment thread
tvi marked this conversation as resolved.

.PHONY: connect-clickhouse
connect-clickhouse:
Expand Down
Loading