diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..ee4a42b4fb --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +.PHONY: docker-build +IMG ?= ghcr.io/k8sgpt-ai/k8sgpt:latest +docker-build: + docker buildx build --build-arg=VERSION="$$(git describe --tags --abbrev=0)" --build-arg=COMMIT="$$(git rev-parse --short HEAD)" --build-arg DATE="$$(date +%FT%TZ)" --platform="linux/amd64,linux/arm64" -t ${IMG} -f container/Dockerfile . --push \ No newline at end of file diff --git a/container/manifests/deployment.yaml b/container/manifests/deployment.yaml index 1c2ad11209..38ad8d8410 100644 --- a/container/manifests/deployment.yaml +++ b/container/manifests/deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: k8sgpt-container - image: ghcr.io/k8sgpt-ai/k8sgpt:v0.2.2 + image: ghcr.io/k8sgpt-ai/k8sgpt:v0.2.2 #x-release-please-version ports: - containerPort: 8080 args: ["serve"] diff --git a/release-please-config.json b/release-please-config.json index ec7c7919b3..118bc2f875 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -11,7 +11,8 @@ "README.md", "deploy/manifest.yaml", "chart/Chart.yaml", - "chart/values.yaml" + "chart/values.yaml", + "container/manifests/deployment.yaml" ], "changelog-sections": [ {