untested but should work

This commit is contained in:
Al Majumdar 2022-04-02 10:40:09 +05:30
parent f6aecb0c02
commit 9c3cea17b9
3 changed files with 10 additions and 0 deletions

View file

@ -28,6 +28,8 @@ jobs:
repo: erpnext
version: develop
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
env:
MULTI_ARCH_BUILD: ${{ github.event_name != 'pull_request' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

View file

@ -40,6 +40,8 @@ jobs:
repo: erpnext
version: "13"
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
env:
MULTI_ARCH_BUILD: ${{ github.event_name != 'pull_request' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
@ -50,6 +52,8 @@ jobs:
repo: erpnext
version: "13"
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
env:
MULTI_ARCH_BUILD: ${{ github.event_name != 'pull_request' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

View file

@ -14,6 +14,9 @@ on:
push:
required: true
type: boolean
env:
MULTI_ARCH_BUILD:
required: true
secrets:
DOCKERHUB_USERNAME:
required: true
@ -54,6 +57,7 @@ jobs:
push: true
env:
REGISTRY_USER: localhost:5000/frappe
MULTI_ARCH_BUILD: ${{ env.MULTI_ARCH_BUILD }}
- name: Setup Python
uses: actions/setup-python@v3