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

Commit 2b277d9

Browse files
committed
Add a custom nautobot image
1 parent 28e134e commit 2b277d9

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ARG NAUTOBOT_VERSION=1.4.2
2+
ARG PYTHON_VERSION=3.9
3+
FROM ghcr.io/nautobot/nautobot:${NAUTOBOT_VERSION}-py${PYTHON_VERSION}
4+

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
# Get current branch by default
3+
tag := $(shell git rev-parse --abbrev-ref HEAD)
4+
5+
build:
6+
docker build -t ghcr.io/networktocode/nautobot-kubernetes:$(tag) .
7+
8+
push:
9+
docker push ghcr.io/networktocode/nautobot-kubernetes:$(tag)

kubernetes/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ redis:
66
password: "SuperSecret456"
77
celeryWorker:
88
replicaCount: 4
9+
nautobot:
10+
image:
11+
registry: "ghcr.io"
12+
repository: "networktocode/nautobot-kubernetes"
13+
tag: "main"
14+
pullSecrets:
15+
- "ghcr.io"

0 commit comments

Comments
 (0)