mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-25 16:55:08 +00:00
Update build_system_image.yml
This commit is contained in:
parent
9e92f4ee57
commit
e2f84fcb33
1 changed files with 11 additions and 3 deletions
14
.github/workflows/build_system_image.yml
vendored
14
.github/workflows/build_system_image.yml
vendored
|
|
@ -28,10 +28,20 @@ jobs:
|
||||||
job-image-build:
|
job-image-build:
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
template-repo: ['fork-foxs/remittance_image_builder']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: ${{ matrix.remittance_image_builder }}
|
||||||
|
path: .github/workflows
|
||||||
|
- name: Run reusable template from another repo
|
||||||
|
run: |
|
||||||
|
cd .github/workflows
|
||||||
|
gh workflow run Reusable_build_image.yml
|
||||||
|
|
||||||
# with:
|
# with:
|
||||||
# repository: malnozili/remittance_image_builder
|
# repository: malnozili/remittance_image_builder
|
||||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
@ -45,8 +55,6 @@ 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue