mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-08 09:14:40 +00:00
Makefile,./build_docker.sh: update kube operator image build target name (#14251)
Updates tailscale/corp#24540 Updates tailscale/tailscale#12914 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
parent
f8587e321e
commit
44c8892c18
2
Makefile
2
Makefile
@ -100,7 +100,7 @@ publishdevoperator: ## Build and publish k8s-operator image to location specifie
|
|||||||
@test "${REPO}" != "ghcr.io/tailscale/tailscale" || (echo "REPO=... must not be ghcr.io/tailscale/tailscale" && exit 1)
|
@test "${REPO}" != "ghcr.io/tailscale/tailscale" || (echo "REPO=... must not be ghcr.io/tailscale/tailscale" && exit 1)
|
||||||
@test "${REPO}" != "tailscale/k8s-operator" || (echo "REPO=... must not be tailscale/k8s-operator" && exit 1)
|
@test "${REPO}" != "tailscale/k8s-operator" || (echo "REPO=... must not be tailscale/k8s-operator" && exit 1)
|
||||||
@test "${REPO}" != "ghcr.io/tailscale/k8s-operator" || (echo "REPO=... must not be ghcr.io/tailscale/k8s-operator" && exit 1)
|
@test "${REPO}" != "ghcr.io/tailscale/k8s-operator" || (echo "REPO=... must not be ghcr.io/tailscale/k8s-operator" && exit 1)
|
||||||
TAGS="${TAGS}" REPOS=${REPO} PLATFORM=${PLATFORM} PUSH=true TARGET=operator ./build_docker.sh
|
TAGS="${TAGS}" REPOS=${REPO} PLATFORM=${PLATFORM} PUSH=true TARGET=k8s-operator ./build_docker.sh
|
||||||
|
|
||||||
publishdevnameserver: ## Build and publish k8s-nameserver image to location specified by ${REPO}
|
publishdevnameserver: ## Build and publish k8s-nameserver image to location specified by ${REPO}
|
||||||
@test -n "${REPO}" || (echo "REPO=... required; e.g. REPO=ghcr.io/${USER}/tailscale" && exit 1)
|
@test -n "${REPO}" || (echo "REPO=... required; e.g. REPO=ghcr.io/${USER}/tailscale" && exit 1)
|
||||||
|
@ -54,7 +54,7 @@ case "$TARGET" in
|
|||||||
--annotations="${ANNOTATIONS}" \
|
--annotations="${ANNOTATIONS}" \
|
||||||
/usr/local/bin/containerboot
|
/usr/local/bin/containerboot
|
||||||
;;
|
;;
|
||||||
operator)
|
k8s-operator)
|
||||||
DEFAULT_REPOS="tailscale/k8s-operator"
|
DEFAULT_REPOS="tailscale/k8s-operator"
|
||||||
REPOS="${REPOS:-${DEFAULT_REPOS}}"
|
REPOS="${REPOS:-${DEFAULT_REPOS}}"
|
||||||
go run github.com/tailscale/mkctr \
|
go run github.com/tailscale/mkctr \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user