From c5fdcf6b10d315f822251e78b628a1f8cf10636c Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Sat, 6 Dec 2025 11:20:47 -0800 Subject: [PATCH] Change docker registry to local ip for faster access --- .gitea/workflows/build-production.yaml | 6 +++--- .gitea/workflows/build-staging.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-production.yaml b/.gitea/workflows/build-production.yaml index 9b54e85..2c782f8 100644 --- a/.gitea/workflows/build-production.yaml +++ b/.gitea/workflows/build-production.yaml @@ -57,7 +57,7 @@ jobs: - name: Login to Docker Registry uses: docker/login-action@v3 with: - registry: gitea.perren.cloud + registry: 192.168.1.36:30008 username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.ACTIONS_TOKEN }} @@ -70,8 +70,8 @@ jobs: context: caperren-com push: true tags: | - gitea.perren.cloud/caperren/${{ needs.test.outputs.repo_name }}:${{ needs.test.outputs.repo_version_hash }} - gitea.perren.cloud/caperren/caperren-com:latest + 192.168.1.36:30008/caperren/${{ needs.test.outputs.repo_name }}:${{ needs.test.outputs.repo_version_hash }} + 192.168.1.36:30008/caperren/caperren-com:latest build-args: | REPO_VERSION_HASH=${{ needs.test.outputs.repo_version_hash }} BUILD_ENVIRONMENT=production diff --git a/.gitea/workflows/build-staging.yaml b/.gitea/workflows/build-staging.yaml index c583857..c5ae520 100644 --- a/.gitea/workflows/build-staging.yaml +++ b/.gitea/workflows/build-staging.yaml @@ -57,7 +57,7 @@ jobs: - name: Login to Docker Registry uses: docker/login-action@v3 with: - registry: gitea.perren.cloud + registry: 192.168.1.36:30008 username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.ACTIONS_TOKEN }} @@ -70,7 +70,7 @@ jobs: context: caperren-com push: true tags: | - gitea.perren.cloud/caperren/caperren-com:latest-staging + 192.168.1.36:30008/caperren/caperren-com:latest-staging build-args: | REPO_VERSION_HASH=${{ needs.test.outputs.repo_version_hash }} BUILD_ENVIRONMENT=staging