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
|
run: make build
|
||||||
working-directory: app
|
working-directory: app
|
||||||
|
|
||||||
- name: Login to Quay
|
- name: Login to Gitea
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: quay.csssr.cloud
|
registry: daemongit.dyndns.info
|
||||||
username: csssr+github_devops_test_app
|
username: just_a_test
|
||||||
password: ${{ secrets.QUAY_REGISTRY_PASSWORD }}
|
password: ${{ secrets.GIT_REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Publish test-app
|
- name: Publish test-app
|
||||||
run: make publish
|
run: make publish
|
||||||
|
@ -11,7 +11,7 @@ start: $(GOBIN)/air
|
|||||||
$(GOBIN)/air
|
$(GOBIN)/air
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build . --tag quay.csssr.cloud/csssr/test-app:$(version)
|
docker build . --tag daemongit.dyndns.info/just_a_test/test-app:$(version)
|
||||||
|
|
||||||
publish:
|
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:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: my-app
|
- 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
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: PORT
|
- name: PORT
|
||||||
|
Loading…
Reference in New Issue
Block a user