Skip to content

Commit 7e1288d

Browse files
Adding Makefile target for worker image creation (#532)
1) add target for worker image creation 2) add worker exe to .gitignore 3) update skipper configuration
1 parent 329ad7b commit 7e1288d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ bundle.Dockerfile
55
# Operator's binaries
66
/manager
77
/manager-hub
8+
/worker
89

910
# Binaries for programs and plugins
1011
*.exe

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ catalog-push: ## Push a catalog image.
349349
signimage-build: ## Build docker image with the signer.
350350
docker build -f Dockerfile.signimage -t $(SIGNER_IMG) .
351351

352+
.PHONY: workerimage-build
353+
workerimage-build: ## Build docker image for worker app.
354+
docker build -f Dockerfile.worker -t $(WORKER_IMG) .
355+
352356
operatorhub-release:
353357
IMG=$(IMG) HUB_IMG=$(HUB_IMG) VERSION=$(VERSION) ./hack/release-operatorhub
354358

skipper.env

+1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ KUBECONFIG
1313
VERSION
1414
REPO
1515
IMG
16+
WORKER_IMG
1617
TEST

0 commit comments

Comments
 (0)