This commit is contained in:
Lev 2021-11-23 16:49:44 +03:00
parent 2fb6e5ea44
commit 8e0d4e63b3
2 changed files with 11 additions and 2 deletions

View file

@ -58,12 +58,19 @@ jobs:
build_main: build_main:
name: Frappe and ERPNext name: Frappe and ERPNext
runs-on: ubuntu-latest runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
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
with:
driver-opts: network=host
- name: Login - name: Login
uses: docker/login-action@v1 uses: docker/login-action@v1
@ -78,6 +85,7 @@ jobs:
files: docker-bake.hcl files: docker-bake.hcl
targets: frappe-develop-test targets: frappe-develop-test
# load: true # load: true
push: true
- run: docker image ls -a - run: docker image ls -a
- name: Build ERPNext - name: Build ERPNext
@ -85,6 +93,7 @@ jobs:
with: with:
files: docker-bake.hcl files: docker-bake.hcl
targets: erpnext-develop-test targets: erpnext-develop-test
push: true
# load: true # load: true
- name: Test Frappe - name: Test Frappe

View file

@ -82,7 +82,7 @@ target "test-erpnext-args" {
function "set_test_tags" { function "set_test_tags" {
params = [repo] params = [repo]
result = ["${repo}:test"] result = ["localhost:5000/${repo}:test"]
} }