This commit is contained in:
Al Majumdar 2022-04-02 22:52:36 +05:30
parent c494cdcd70
commit fcbbd73a92

View file

@ -23,12 +23,12 @@ on:
jobs: jobs:
build: build:
uses: frappe/frappe_docker/.github/workflows/docker-build-push.yml@main uses: restlessronin/frappe_docker/.github/workflows/docker-build-push.yml@images-for-m1-mac
with: with:
repo: erpnext repo: erpnext
version: develop version: develop
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }} push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
set: "*.platform=${{ github.event_name != 'pull_request' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}" platforms: "*.platform=${{ github.event_name != 'pull_request' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}"
secrets: secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}