mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
update
This commit is contained in:
parent
c0470664a6
commit
85d5f0b29b
2 changed files with 39 additions and 40 deletions
1
.github/workflows/build_develop.yml
vendored
1
.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
|
||||||
|
|
|
||||||
78
.github/workflows/build_stable.yml
vendored
78
.github/workflows/build_stable.yml
vendored
|
|
@ -20,51 +20,51 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_frappe:
|
# build_frappe:
|
||||||
name: Frappe
|
# name: Frappe
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
version: [12, 13]
|
# version: [12, 13]
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Buildx
|
# - name: Setup Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
# uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login
|
# - name: Login
|
||||||
uses: docker/login-action@v1
|
# uses: docker/login-action@v1
|
||||||
if: github.repository == 'frappe/frappe_docker'
|
# if: github.repository == 'frappe/frappe_docker'
|
||||||
with:
|
# with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Get latest versions
|
# - name: Get latest versions
|
||||||
run: ./.github/scripts/get-latest-tags.sh
|
# run: ./.github/scripts/get-latest-tags.sh
|
||||||
env:
|
# env:
|
||||||
VERSION: ${{ matrix.version }}
|
# VERSION: ${{ matrix.version }}
|
||||||
|
|
||||||
- name: Build
|
# - name: Build
|
||||||
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-test
|
# targets: frappe-stable-test
|
||||||
load: true
|
# load: true
|
||||||
|
|
||||||
- name: Test
|
# - name: Test
|
||||||
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: false
|
# push: false
|
||||||
env:
|
# env:
|
||||||
GIT_TAG: ${{ env.FRAPPE_VERSION }}
|
# GIT_TAG: ${{ env.FRAPPE_VERSION }}
|
||||||
|
|
||||||
build_erpnext:
|
build_erpnext:
|
||||||
name: ERPNext
|
name: ERPNext
|
||||||
|
|
@ -72,7 +72,7 @@ jobs:
|
||||||
# needs: build_frappe
|
# needs: build_frappe
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [12, 13]
|
version: [13]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue