Update .github/workflows/build.yml
Build and Push Image / build-backend (push) Successful in 34s
Build and Push Image / build-frontend (push) Successful in 35s
Build and Push Image / push (push) Successful in 5m2s

This commit is contained in:
2026-07-11 05:28:14 +00:00 Unverified
parent 0b1d4c1047
commit c6c4afbc38
+10 -10
View File
@@ -36,11 +36,11 @@ jobs:
- run: | - run: |
TAG=${{ gitea.sha }} TAG=${{ gitea.sha }}
docker build \ docker build \
-t mts.dgnr.us:5000/${{ gitea.repository }}:frontend \ -t registry.neko-piranha.ts.net/${{ gitea.repository }}:frontend \
-t mts.dgnr.us:5000/${{ gitea.repository }}:frontend-$TAG \ -t registry.neko-piranha.ts.net/${{ gitea.repository }}:frontend-$TAG \
. .
docker build --target migration \ docker build --target migration \
-t mts.dgnr.us:5000/${{ gitea.repository }}:migration \ -t registry.neko-piranha.ts.net/${{ gitea.repository }}:migration \
. .
build-backend: build-backend:
@@ -72,8 +72,8 @@ jobs:
TAG=${{ gitea.sha }} TAG=${{ gitea.sha }}
docker build \ docker build \
-f backend.dockerfile \ -f backend.dockerfile \
-t mts.dgnr.us:5000/${{ gitea.repository }}:backend \ -t registry.neko-piranha.ts.net/${{ gitea.repository }}:backend \
-t mts.dgnr.us:5000/${{ gitea.repository }}:backend-$TAG \ -t registry.neko-piranha.ts.net/${{ gitea.repository }}:backend-$TAG \
. .
push: push:
@@ -82,11 +82,11 @@ jobs:
steps: steps:
- run: | - run: |
TAG=${{ gitea.sha }} TAG=${{ gitea.sha }}
docker push mts.dgnr.us:5000/${{ gitea.repository }}:backend & docker push registry.neko-piranha.ts.net/${{ gitea.repository }}:backend &
docker push mts.dgnr.us:5000/${{ gitea.repository }}:backend-$TAG & docker push registry.neko-piranha.ts.net/${{ gitea.repository }}:backend-$TAG &
docker push mts.dgnr.us:5000/${{ gitea.repository }}:frontend & docker push registry.neko-piranha.ts.net/${{ gitea.repository }}:frontend &
docker push mts.dgnr.us:5000/${{ gitea.repository }}:frontend-$TAG & docker push registry.neko-piranha.ts.net/${{ gitea.repository }}:frontend-$TAG &
docker push mts.dgnr.us:5000/${{ gitea.repository }}:migration & docker push registry.neko-piranha.ts.net/${{ gitea.repository }}:migration &
wait wait
- name: Install kubectl - name: Install kubectl