Merge pull request 'Round two, trying local gitea actions' (#16) from website-content-updates into main
All checks were successful
Build and Test - Production / test (push) Successful in 3m58s
Build and Test - Production / build_and_push (push) Successful in 2m52s
Build and Test - Production / deploy_production (push) Successful in 2s

Reviewed-on: #16
This commit was merged in pull request #16.
This commit is contained in:
2025-12-11 20:28:33 +00:00
2 changed files with 13 additions and 5 deletions

View File

@@ -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

View File

@@ -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,7 +74,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