Update .github/workflows/CI.yml
Some checks failed
GHA Testing / gha-testing (push) Successful in 2s
Build and Push Docker Image / testing (1.24.x, ubuntu-latest) (push) Successful in 1m0s
Build and Push Docker Image / build-and-push (push) Failing after 9m24s

This commit is contained in:
Alex Savin
2025-04-29 12:57:26 -04:00
parent 7ec2ab1102
commit 82d1328f8f

View File

@ -102,16 +102,16 @@ jobs:
# ${{env.VERSION_TAG}}
# ${{env.LASTEST_TAG}}
- name: Auto Execute a Workflow
run: |
curl -X 'POST' \
'http://10.10.11.26:8090/api/v1/repos/${{ github.repository_owner }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic ${{ echo -n "secrets.SECRET_USERNAME:secrets.SECRET_PASSWORD" | base64 }}' \
-H 'Authorization: token ${{ secrets.GHA_TOKEN }}' \
-d '{"ref":"${{ github.ref }}","inputs":{"Version":"${{ steps.vars.outputs.sha_short }}","Env":"${{ github.ref_name}}"}}'
shell: bash
- name: Auto Execute a Workflow
run: |
curl -X 'POST' \
'http://10.10.11.26:8090/api/v1/repos/${{ github.repository_owner }}/${{ github.repository.name }}/actions/workflows/CD.yml/dispatches' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic ${{ echo -n "secrets.SECRET_USERNAME:secrets.SECRET_PASSWORD" | base64 }}' \
-H 'Authorization: token ${{ secrets.GHA_TOKEN }}' \
-d '{"ref":"${{ github.ref }}","inputs":{"Version":"${{ steps.vars.outputs.sha_short }}","Env":"${{ github.ref_name}}"}}'
shell: bash
# - name: Auto Deploy (Dev)
## if: ${{ contains(github.ref, 'develop') and env.AUTO_DEPLOY_DEV == 'true' }}
# id: auto-deploy-dev