2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-03 14:17:33 +00:00

Revert "update"

This reverts commit ce1ed546ab.
This commit is contained in:
Lev 2021-11-06 20:02:42 +03:00
parent ce1ed546ab
commit daa1926f03
3 changed files with 22 additions and 29 deletions

View File

@ -1,7 +1,6 @@
name: Build Develop
on:
push:
pull_request:
branches:
- main
@ -50,12 +49,11 @@ 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: false
push: true
build_frappe:
name: Frappe
@ -86,13 +84,12 @@ 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: false
push: true
build_erpnext:
name: ERPNext
@ -123,10 +120,9 @@ 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: false
push: true

View File

@ -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,18 +61,17 @@ 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: false
push: true
build_erpnext:
name: ERPNext
runs-on: ubuntu-latest
# needs: build_frappe
needs: build_frappe
strategy:
matrix:
version: [12, 13]
@ -111,13 +110,12 @@ 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: false
push: true
release_helm:
name: Release Helm

1
.gitignore vendored
View File

@ -16,4 +16,3 @@ deploy_key.pub
# VS Code devcontainer
.devcontainer
venv