Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 9088af8

Browse files
committed
Add the pull target
1 parent 2b277d9 commit 9088af8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11

22
# Get current branch by default
33
tag := $(shell git rev-parse --abbrev-ref HEAD)
4+
values := "./kubernetes/values.yaml"
45

56
build:
67
docker build -t ghcr.io/networktocode/nautobot-kubernetes:$(tag) .
78

89
push:
910
docker push ghcr.io/networktocode/nautobot-kubernetes:$(tag)
11+
12+
pull:
13+
docker push ghcr.io/networktocode/nautobot-kubernetes:$(tag)
14+
15+
lint:
16+
@echo "Linting..."
17+
@sleep 1
18+
@echo "Done."
19+
20+
test:
21+
@echo "Testing..."
22+
@sleep 1
23+
@echo "Done."
24+
25+
deploy:
26+
sed -i '' 's/tag: \".*\"/tag: \"$(tag)\"/g' $(values)

0 commit comments

Comments
 (0)