From c75f2d09cbd90928c6ab1d4137cfce97abe2a4d2 Mon Sep 17 00:00:00 2001 From: DaemonGloom Date: Mon, 5 Aug 2024 15:12:57 +0500 Subject: [PATCH] Switch helm, container registry and workflow to local repo --- .github/workflows/build-docker-image.yaml | 6 +++--- app/Makefile | 4 ++-- chart/templates/deployment.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-docker-image.yaml b/.github/workflows/build-docker-image.yaml index e1655ab..50c6c09 100644 --- a/.github/workflows/build-docker-image.yaml +++ b/.github/workflows/build-docker-image.yaml @@ -27,9 +27,9 @@ jobs: if: github.event_name == 'push' uses: docker/login-action@v3 with: - registry: quay.csssr.cloud - username: csssr+github_devops_test_app - password: ${{ secrets.QUAY_REGISTRY_PASSWORD }} + registry: daemongit.dyndns.info + username: just_a_test + password: ${{ secrets.GIT_REGISTRY_PASSWORD }} - name: Publish test-app run: make publish diff --git a/app/Makefile b/app/Makefile index 49b88e3..7a2c1d7 100644 --- a/app/Makefile +++ b/app/Makefile @@ -11,7 +11,7 @@ start: $(GOBIN)/air $(GOBIN)/air build: - docker build . --tag quay.csssr.cloud/csssr/test-app:$(version) + docker build . --tag daemongit.dyndns.info/just_a_test/test-app:$(version) publish: - docker push quay.csssr.cloud/csssr/test-app:$(version) + docker push daemongit.dyndns.info/just_a_test/test-app:$(version) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index fb2e3b7..a1ffb28 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -14,7 +14,7 @@ spec: spec: containers: - name: my-app - image: quay.csssr.cloud/csssr/test-app:{{ .Values.image.tag }} + image: daemongit.dyndns.info/just_a_test/test-app:{{ .Values.image.tag }} imagePullPolicy: Always env: - name: PORT