From b37d17d9c0aa54d01c79066c7fa21a9b98232daf Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Mon, 13 Jan 2020 10:36:11 -0800 Subject: [PATCH] move argocd-notifications image to argoprojlabs docker repo --- Makefile | 12 +++++++++++- VERSION | 1 + .../argocd-notifications-controller-deployment.yaml | 4 ++-- manifests/install.yaml | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 VERSION diff --git a/Makefile b/Makefile index 7b00ab67..a27d5936 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,13 @@ +VERSION?=$(shell cat VERSION) +IMAGE_TAG?=v$(VERSION) +IMAGE_PREFIX?=argoprojlabs +DOCKER_PUSH?=false + .PHONY: test test: - go test ./... -coverprofile=coverage.out \ No newline at end of file + go test ./... -coverprofile=coverage.out + +.PHONY: image +image: + docker build -t $(IMAGE_PREFIX)/argocd-notifications:$(IMAGE_TAG) . + @if [ "$(DOCKER_PUSH)" = "true" ] ; then docker push $(IMAGE_PREFIX)/argocd-notifications:$(IMAGE_TAG) ; fi diff --git a/VERSION b/VERSION new file mode 100644 index 00000000..0d91a54c --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.3.0 diff --git a/manifests/base/argocd-notifications-controller-deployment.yaml b/manifests/base/argocd-notifications-controller-deployment.yaml index 221809e3..7baae574 100644 --- a/manifests/base/argocd-notifications-controller-deployment.yaml +++ b/manifests/base/argocd-notifications-controller-deployment.yaml @@ -17,7 +17,7 @@ spec: - command: - /app/argocd-notifications-controller workingDir: /app - image: alexmt/argocd-notifications:latest + image: argoprojlabs/argocd-notifications:latest imagePullPolicy: Always name: argocd-notifications-controller - serviceAccountName: argocd-notifications-controller \ No newline at end of file + serviceAccountName: argocd-notifications-controller diff --git a/manifests/install.yaml b/manifests/install.yaml index 3c019544..e9bd9f69 100644 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -70,7 +70,7 @@ spec: containers: - command: - /app/argocd-notifications-controller - image: alexmt/argocd-notifications:latest + image: argoprojlabs/argocd-notifications:latest imagePullPolicy: Always name: argocd-notifications-controller workingDir: /app