mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-27 09:15:10 +00:00
untested but should work
This commit is contained in:
parent
f6aecb0c02
commit
9c3cea17b9
3 changed files with 10 additions and 0 deletions
2
.github/workflows/build_develop.yml
vendored
2
.github/workflows/build_develop.yml
vendored
|
|
@ -28,6 +28,8 @@ jobs:
|
||||||
repo: erpnext
|
repo: erpnext
|
||||||
version: develop
|
version: develop
|
||||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
|
env:
|
||||||
|
MULTI_ARCH_BUILD: ${{ github.event_name != 'pull_request' }}
|
||||||
secrets:
|
secrets:
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
|
||||||
4
.github/workflows/build_stable.yml
vendored
4
.github/workflows/build_stable.yml
vendored
|
|
@ -40,6 +40,8 @@ jobs:
|
||||||
repo: erpnext
|
repo: erpnext
|
||||||
version: "13"
|
version: "13"
|
||||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
|
env:
|
||||||
|
MULTI_ARCH_BUILD: ${{ github.event_name != 'pull_request' }}
|
||||||
secrets:
|
secrets:
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
@ -50,6 +52,8 @@ jobs:
|
||||||
repo: erpnext
|
repo: erpnext
|
||||||
version: "13"
|
version: "13"
|
||||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
|
env:
|
||||||
|
MULTI_ARCH_BUILD: ${{ github.event_name != 'pull_request' }}
|
||||||
secrets:
|
secrets:
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
|
||||||
4
.github/workflows/docker-build-push.yml
vendored
4
.github/workflows/docker-build-push.yml
vendored
|
|
@ -14,6 +14,9 @@ on:
|
||||||
push:
|
push:
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
env:
|
||||||
|
MULTI_ARCH_BUILD:
|
||||||
|
required: true
|
||||||
secrets:
|
secrets:
|
||||||
DOCKERHUB_USERNAME:
|
DOCKERHUB_USERNAME:
|
||||||
required: true
|
required: true
|
||||||
|
|
@ -54,6 +57,7 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
env:
|
env:
|
||||||
REGISTRY_USER: localhost:5000/frappe
|
REGISTRY_USER: localhost:5000/frappe
|
||||||
|
MULTI_ARCH_BUILD: ${{ env.MULTI_ARCH_BUILD }}
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue