From 028637fdd374c64baffa2b8f93ac1fa1bfd13f7a Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Thu, 11 Dec 2025 11:38:42 -0800 Subject: [PATCH 1/3] Round two, trying local gitea actions --- .gitea/workflows/build-staging.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 1b1db88a2afdd00f0f13e69a82b658cf2b008ee3 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Thu, 11 Dec 2025 11:56:39 -0800 Subject: [PATCH 2/3] Buildkit for docker add local insecure registry --- .gitea/workflows/build-staging.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/build-staging.yaml b/.gitea/workflows/build-staging.yaml index c5ae520..c490e17 100644 --- a/.gitea/workflows/build-staging.yaml +++ b/.gitea/workflows/build-staging.yaml @@ -63,6 +63,10 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + buildkitd-config-inline: | + [registry."192.168.1.36:30008"] + http = true - name: Build and Push uses: docker/build-push-action@v6 From 2583e4e99bc2f74e9c7fddfc1c30da7687fc90aa Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Thu, 11 Dec 2025 12:14:34 -0800 Subject: [PATCH 3/3] Update production with local build changes --- .gitea/workflows/build-production.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-production.yaml b/.gitea/workflows/build-production.yaml index 9b54e85..67ae2bd 100644 --- a/.gitea/workflows/build-production.yaml +++ b/.gitea/workflows/build-production.yaml @@ -57,12 +57,16 @@ 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 }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + buildkitd-config-inline: | + [registry."192.168.1.36:30008"] + http = true - name: Build and Push uses: docker/build-push-action@v6 @@ -70,8 +74,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