Update build_system_image.yml

This commit is contained in:
fal7w 2023-12-09 21:52:31 +03:00 committed by GitHub
parent ad99f0e6b2
commit 4150ea63fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,19 +28,19 @@ jobs:
job-image-build: job-image-build:
runs-on: runs-on:
- self-hosted - self-hosted
strategy: # strategy:
matrix: # matrix:
template-repo: ['fork-foxs/remittance_image_builder'] # template-repo: ['fork-foxs/remittance_image_builder']
steps: steps:
- name: Checkout Repository # - name: Checkout Repository
uses: actions/checkout@v2 # uses: actions/checkout@v2
with: # with:
repository: ${{ matrix.remittance_image_builder }} # repository: ${{ matrix.remittance_image_builder }}
path: .github/workflows # path: .github/workflows
- name: Run reusable template from another repo # - name: Run reusable template from another repo
run: | # run: |
cd .github/workflows # cd .github/workflows
gh workflow run Reusable_build_image.yml # gh workflow run Reusable_build_image.yml
# with: # with:
# repository: malnozili/remittance_image_builder # repository: malnozili/remittance_image_builder
@ -55,6 +55,8 @@ jobs:
- name: build image - name: build image
run: | run: |
git clone https://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@github.com/malnozili/remittance_image_builder.git
cd remittance_image_builder
../build_network_company_image.sh --tag="remittance_network_agent/${{ github.event.pull_request.head.ref }}:latest" --token="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" --frappe-path="https://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@github.com/fintechsys/frappe.git" --frappe-branch=${{ github.event.pull_request.head.ref }} ../build_network_company_image.sh --tag="remittance_network_agent/${{ github.event.pull_request.head.ref }}:latest" --token="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" --frappe-path="https://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@github.com/fintechsys/frappe.git" --frappe-branch=${{ github.event.pull_request.head.ref }}
# docker image ls # docker image ls