chore: update registry URL to use local IP for image and git operations
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Failing after 7s
Some checks failed
Build (develop) / Promote (main) / build-and-push-deploy (push) Failing after 7s
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
REGISTRY="git.simplifiquehc.com.br"
|
REGISTRY="http://172.35.0.216:3000"
|
||||||
IMAGE_NAME="$REGISTRY/simplifique/vendaweb-portal"
|
IMAGE_NAME="$REGISTRY/simplifique/vendaweb-portal"
|
||||||
SHA_TAG=$(echo "${{ github.sha }}" | cut -c1-7)
|
SHA_TAG=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
SHA_TAG=$(echo "${{ github.sha }}" | cut -c1-7)
|
SHA_TAG=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||||
IMAGE_NAME="git.simplifiquehc.com.br/simplifique/vendaweb-portal"
|
IMAGE_NAME="http://172.35.0.216:3000/simplifique/vendaweb-portal"
|
||||||
|
|
||||||
MANIFEST_FILE="k8s/overlays/prod/deployment-image-digest-patch.yaml"
|
MANIFEST_FILE="k8s/overlays/prod/deployment-image-digest-patch.yaml"
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git remote set-url origin "https://${{ github.actor }}:${{ secrets.GITEA_TOKEN }}@git.simplifiquehc.com.br/simplifique/Vendaweb-portal.git"
|
git remote set-url origin "https://${{ github.actor }}:${{ secrets.GITEA_TOKEN }}@http://172.35.0.216:3000/simplifique/Vendaweb-portal.git"
|
||||||
|
|
||||||
git config user.name "Gitea Action"
|
git config user.name "Gitea Action"
|
||||||
git config user.email "actions@simplifiquehc.com.br"
|
git config user.email "actions@simplifiquehc.com.br"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ spec:
|
|||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
containers:
|
containers:
|
||||||
- name: portal
|
- name: portal
|
||||||
image: git.simplifiquehc.com.br/simplifique/vendaweb-portal:latest
|
image: http://172.35.0.216:3000/simplifique/vendaweb-portal:latest
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
Reference in New Issue
Block a user