Skip to content

Commit

Permalink
Fix building analytics image for multiple environments
Browse files Browse the repository at this point in the history
The current commit modifies the script `analytics-dashboard.mk` in the
`govtool` directory to address the issue of building the analytics image
for multiple environments. Previously, the image tag was being generated
based on the latest commit hash for the `analytics-dashboard`, which was
not sufficient for distinguishing between different environments. To
solve this, the script now appends the `$(env)` variable to the image
tag, allowing for unique identification of images across various
environments.
  • Loading branch information
placek committed May 7, 2024
1 parent f872b67 commit d683b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/govtool/analytics-dashboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif
.DEFAULT_GOAL := push-analytics-dashboard

# image tags
analytics_dashboard_image_tag := $(shell git log -n 1 --format="%H" -- $(root_dir)/govtool/analytics-dashboard)
analytics_dashboard_image_tag := $(shell git log -n 1 --format="%H" -- $(root_dir)/govtool/analytics-dashboard)-$(env)

.PHONY: build-analytics-dashboard
build-analytics-dashboard:
Expand Down

0 comments on commit d683b13

Please sign in to comment.