Switch helm, container registry and workflow to local repo

This commit is contained in:
DaemonGloom 2024-08-05 15:25:00 +05:00
parent 02bd3da206
commit 7b37808158
3 changed files with 7 additions and 7 deletions

View File

@ -23,13 +23,13 @@ jobs:
run: make build
working-directory: app
- name: Login to Quay
- name: Login to Gitea
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

View File

@ -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)

View File

@ -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