Change docker registry to local ip for faster access
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user