mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-03 14:17:33 +00:00
parent
ce1ed546ab
commit
daa1926f03
16
.github/workflows/build_develop.yml
vendored
16
.github/workflows/build_develop.yml
vendored
@ -1,7 +1,6 @@
|
|||||||
name: Build Develop
|
name: Build Develop
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@ -50,12 +49,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
uses: docker/bake-action@v1.6.0
|
uses: docker/bake-action@v1.6.0
|
||||||
# if: env.IS_AUTHORIZED_RUN == 'true'
|
if: env.IS_AUTHORIZED_RUN == 'true'
|
||||||
with:
|
with:
|
||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: bench-build
|
targets: bench-build
|
||||||
# push: true
|
push: true
|
||||||
push: false
|
|
||||||
|
|
||||||
build_frappe:
|
build_frappe:
|
||||||
name: Frappe
|
name: Frappe
|
||||||
@ -86,13 +84,12 @@ jobs:
|
|||||||
run: ./tests/test-frappe.sh
|
run: ./tests/test-frappe.sh
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
# if: env.IS_AUTHORIZED_RUN == 'true'
|
if: env.IS_AUTHORIZED_RUN == 'true'
|
||||||
uses: docker/bake-action@v1.6.0
|
uses: docker/bake-action@v1.6.0
|
||||||
with:
|
with:
|
||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: frappe-develop
|
targets: frappe-develop
|
||||||
# push: true
|
push: true
|
||||||
push: false
|
|
||||||
|
|
||||||
build_erpnext:
|
build_erpnext:
|
||||||
name: ERPNext
|
name: ERPNext
|
||||||
@ -123,10 +120,9 @@ jobs:
|
|||||||
run: FRAPPE_VERSION=develop ./tests/test-erpnext.sh
|
run: FRAPPE_VERSION=develop ./tests/test-erpnext.sh
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
# if: env.IS_AUTHORIZED_RUN == 'true'
|
if: env.IS_AUTHORIZED_RUN == 'true'
|
||||||
uses: docker/bake-action@v1.6.0
|
uses: docker/bake-action@v1.6.0
|
||||||
with:
|
with:
|
||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: erpnext-develop
|
targets: erpnext-develop
|
||||||
# push: true
|
push: true
|
||||||
push: false
|
|
||||||
|
34
.github/workflows/build_stable.yml
vendored
34
.github/workflows/build_stable.yml
vendored
@ -2,17 +2,17 @@ name: Build Stable
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - main
|
- main
|
||||||
# paths:
|
paths:
|
||||||
# - .github/**
|
- .github/**
|
||||||
# - build/**
|
- build/**
|
||||||
# - installation/**
|
- installation/**
|
||||||
# - tests/**
|
- tests/**
|
||||||
# - .dockerignore
|
- .dockerignore
|
||||||
# - docker-bake.hcl
|
- docker-bake.hcl
|
||||||
# - docker-compose.yml
|
- docker-compose.yml
|
||||||
# - env*
|
- env*
|
||||||
|
|
||||||
# Triggered from frappe/frappe and frappe/erpnext on releases
|
# Triggered from frappe/frappe and frappe/erpnext on releases
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
@ -61,18 +61,17 @@ jobs:
|
|||||||
run: ./tests/test-frappe.sh
|
run: ./tests/test-frappe.sh
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
# if: github.repository == 'frappe/frappe_docker'
|
if: github.repository == 'frappe/frappe_docker'
|
||||||
uses: docker/bake-action@v1.6.0
|
uses: docker/bake-action@v1.6.0
|
||||||
with:
|
with:
|
||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: frappe-stable
|
targets: frappe-stable
|
||||||
# push: true
|
push: true
|
||||||
push: false
|
|
||||||
|
|
||||||
build_erpnext:
|
build_erpnext:
|
||||||
name: ERPNext
|
name: ERPNext
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: build_frappe
|
needs: build_frappe
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [12, 13]
|
version: [12, 13]
|
||||||
@ -111,13 +110,12 @@ jobs:
|
|||||||
run: ./tests/test-erpnext.sh
|
run: ./tests/test-erpnext.sh
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
# if: github.repository == 'frappe/frappe_docker'
|
if: github.repository == 'frappe/frappe_docker'
|
||||||
uses: docker/bake-action@v1.6.0
|
uses: docker/bake-action@v1.6.0
|
||||||
with:
|
with:
|
||||||
files: docker-bake.hcl
|
files: docker-bake.hcl
|
||||||
targets: erpnext-stable
|
targets: erpnext-stable
|
||||||
# push: true
|
push: true
|
||||||
push: false
|
|
||||||
|
|
||||||
release_helm:
|
release_helm:
|
||||||
name: Release Helm
|
name: Release Helm
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,4 +16,3 @@ deploy_key.pub
|
|||||||
|
|
||||||
# VS Code devcontainer
|
# VS Code devcontainer
|
||||||
.devcontainer
|
.devcontainer
|
||||||
venv
|
|
Loading…
Reference in New Issue
Block a user