diff --git a/.github/workflows/build_develop.yml b/.github/workflows/build_develop.yml index d3f7c55b..e6620241 100644 --- a/.github/workflows/build_develop.yml +++ b/.github/workflows/build_develop.yml @@ -1,6 +1,7 @@ name: Build Develop on: + push: pull_request: branches: - main @@ -49,11 +50,12 @@ jobs: - name: Push uses: docker/bake-action@v1.6.0 - if: env.IS_AUTHORIZED_RUN == 'true' + # if: env.IS_AUTHORIZED_RUN == 'true' with: files: docker-bake.hcl targets: bench-build - push: true + # push: true + push: false build_frappe: name: Frappe @@ -84,12 +86,13 @@ jobs: run: ./tests/test-frappe.sh - name: Push - if: env.IS_AUTHORIZED_RUN == 'true' + # if: env.IS_AUTHORIZED_RUN == 'true' uses: docker/bake-action@v1.6.0 with: files: docker-bake.hcl targets: frappe-develop - push: true + # push: true + push: false build_erpnext: name: ERPNext @@ -120,9 +123,10 @@ jobs: run: FRAPPE_VERSION=develop ./tests/test-erpnext.sh - name: Push - if: env.IS_AUTHORIZED_RUN == 'true' + # if: env.IS_AUTHORIZED_RUN == 'true' uses: docker/bake-action@v1.6.0 with: files: docker-bake.hcl targets: erpnext-develop - push: true + # push: true + push: false diff --git a/.github/workflows/build_stable.yml b/.github/workflows/build_stable.yml index 399ab42a..83174f5a 100644 --- a/.github/workflows/build_stable.yml +++ b/.github/workflows/build_stable.yml @@ -2,17 +2,17 @@ name: Build Stable on: push: - branches: - - main - paths: - - .github/** - - build/** - - installation/** - - tests/** - - .dockerignore - - docker-bake.hcl - - docker-compose.yml - - env* + # branches: + # - main + # paths: + # - .github/** + # - build/** + # - installation/** + # - tests/** + # - .dockerignore + # - docker-bake.hcl + # - docker-compose.yml + # - env* # Triggered from frappe/frappe and frappe/erpnext on releases repository_dispatch: @@ -61,17 +61,18 @@ jobs: run: ./tests/test-frappe.sh - name: Push - if: github.repository == 'frappe/frappe_docker' + # if: github.repository == 'frappe/frappe_docker' uses: docker/bake-action@v1.6.0 with: files: docker-bake.hcl targets: frappe-stable - push: true + # push: true + push: false build_erpnext: name: ERPNext runs-on: ubuntu-latest - needs: build_frappe + # needs: build_frappe strategy: matrix: version: [12, 13] @@ -110,12 +111,13 @@ jobs: run: ./tests/test-erpnext.sh - name: Push - if: github.repository == 'frappe/frappe_docker' + # if: github.repository == 'frappe/frappe_docker' uses: docker/bake-action@v1.6.0 with: files: docker-bake.hcl targets: erpnext-stable - push: true + # push: true + push: false release_helm: name: Release Helm diff --git a/.gitignore b/.gitignore index e6ae4965..4abe3689 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ deploy_key.pub # VS Code devcontainer .devcontainer +venv \ No newline at end of file