-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(trident): add custom tag to images
Signed-off-by: Clément Nussbaumer <[email protected]>
- Loading branch information
1 parent
426ce9c
commit ab84f8b
Showing
2 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
--- Makefile.original 2024-10-24 20:45:15 | ||
+++ Makefile 2024-10-24 20:45:37 | ||
--- trident/Makefile.original 2024-10-25 09:11:22 | ||
+++ trident/Makefile 2024-10-25 09:21:23 | ||
@@ -93,7 +93,7 @@ | ||
|
||
# Constants | ||
ALL_PLATFORMS = linux/amd64 linux/arm64 windows/amd64/ltsc2022 windows/amd64/ltsc2019 darwin/amd64 | ||
-DEFAULT_REGISTRY = docker.io/netapp | ||
+DEFAULT_REGISTRY = ghcr.io/postfinance | ||
TRIDENT_CONFIG_PKG = github.com/netapp/trident/config | ||
OPERATOR_CONFIG_PKG = github.com/netapp/trident/operator/config | ||
TRIDENT_KUBERNETES_PKG = github.com/netapp/trident/persistent_store/crd | ||
@@ -120,8 +120,9 @@ | ||
TRIDENT_VERSION := $(VERSION)-$(BUILD_TYPE).$(BUILD_TYPE_REV) | ||
endif | ||
|
||
+CUSTOM_IMAGE_TAG ?= | ||
# tag variables | ||
-TRIDENT_TAG := $(REGISTRY)/$(TRIDENT_IMAGE):$(TRIDENT_VERSION) | ||
+TRIDENT_TAG := $(REGISTRY)/$(TRIDENT_IMAGE)-$(TRIDENT_VERSION):$(CUSTOM_IMAGE_TAG) | ||
OPERATOR_TAG := $(REGISTRY)/$(OPERATOR_IMAGE):$(TRIDENT_VERSION) | ||
TRIDENT_IMAGE_REPO := $(REGISTRY)/$(TRIDENT_IMAGE): | ||
DEFAULT_OPERATOR_TAG := $(DEFAULT_REGISTRY)/$(OPERATOR_IMAGE):$(VERSION) |