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
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
|
|
|||
84
.github/workflows/build_stable.yml
vendored
84
.github/workflows/build_stable.yml
vendored
|
|
@ -20,51 +20,51 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_frappe:
|
||||
name: Frappe
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
version: [12, 13]
|
||||
# build_frappe:
|
||||
# name: Frappe
|
||||
# runs-on: ubuntu-latest
|
||||
# strategy:
|
||||
# matrix:
|
||||
# version: [12, 13]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
# - name: Setup Buildx
|
||||
# uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login
|
||||
uses: docker/login-action@v1
|
||||
if: github.repository == 'frappe/frappe_docker'
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Get latest versions
|
||||
run: ./.github/scripts/get-latest-tags.sh
|
||||
env:
|
||||
VERSION: ${{ matrix.version }}
|
||||
|
||||
- name: Build
|
||||
uses: docker/bake-action@v1.6.0
|
||||
with:
|
||||
files: docker-bake.hcl
|
||||
targets: frappe-stable-test
|
||||
load: true
|
||||
|
||||
- name: Test
|
||||
run: ./tests/test-frappe.sh
|
||||
|
||||
- name: Push
|
||||
# - name: Login
|
||||
# uses: docker/login-action@v1
|
||||
# if: github.repository == 'frappe/frappe_docker'
|
||||
uses: docker/bake-action@v1.6.0
|
||||
with:
|
||||
files: docker-bake.hcl
|
||||
targets: frappe-stable
|
||||
push: false
|
||||
env:
|
||||
GIT_TAG: ${{ env.FRAPPE_VERSION }}
|
||||
# with:
|
||||
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
# - name: Get latest versions
|
||||
# run: ./.github/scripts/get-latest-tags.sh
|
||||
# env:
|
||||
# VERSION: ${{ matrix.version }}
|
||||
|
||||
# - name: Build
|
||||
# uses: docker/bake-action@v1.6.0
|
||||
# with:
|
||||
# files: docker-bake.hcl
|
||||
# targets: frappe-stable-test
|
||||
# load: true
|
||||
|
||||
# - name: Test
|
||||
# run: ./tests/test-frappe.sh
|
||||
|
||||
# - name: Push
|
||||
# # if: github.repository == 'frappe/frappe_docker'
|
||||
# uses: docker/bake-action@v1.6.0
|
||||
# with:
|
||||
# files: docker-bake.hcl
|
||||
# targets: frappe-stable
|
||||
# push: false
|
||||
# env:
|
||||
# GIT_TAG: ${{ env.FRAPPE_VERSION }}
|
||||
|
||||
build_erpnext:
|
||||
name: ERPNext
|
||||
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
# needs: build_frappe
|
||||
strategy:
|
||||
matrix:
|
||||
version: [12, 13]
|
||||
version: [13]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
Loading…
Reference in a new issue