Skip to content
Open
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
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ $(foreach version,$(VERSIONS),$(eval $(call test-version,$(version))))

tag-latest: $(BUILD_LATEST_DEP)
$(DOCKER) image tag $(REPO_NAME)/$(IMAGE_NAME):$(LATEST_VERSION) $(REPO_NAME)/$(IMAGE_NAME):latest
$(DOCKER) image tag $(REPO_NAME)/$(IMAGE_NAME):$(LATEST_VERSION)-alpine $(REPO_NAME)/$(IMAGE_NAME):alpine


### RULES FOR PUSHING ###
Expand All @@ -135,6 +136,7 @@ $(foreach version,$(VERSIONS),$(eval $(call push-version,$(version))))

push-latest: tag-latest $(PUSH_LATEST_DEP)
$(DOCKER) image push $(REPO_NAME)/$(IMAGE_NAME):latest
$(DOCKER) image push $(REPO_NAME)/$(IMAGE_NAME):alpine
@$(DOCKER) run -v "$(PWD)":/workspace \
-e DOCKERHUB_USERNAME='$(DOCKERHUB_USERNAME)' \
-e DOCKERHUB_PASSWORD='$(DOCKERHUB_PASSWORD)' \
Expand Down