Switch helm, container registry and workflow to local repo
This commit is contained in:
parent
02bd3da206
commit
7b37808158
8
.github/workflows/build-docker-image.yaml
vendored
8
.github/workflows/build-docker-image.yaml
vendored
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user