mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 14:21:05 +00:00
Merge pull request #542 from vrslev/push-images-instantly
ci: Push images right after build
This commit is contained in:
commit
915885bb05
18
.github/workflows/build_develop.yml
vendored
18
.github/workflows/build_develop.yml
vendored
@ -60,6 +60,7 @@ jobs:
|
||||
files: docker-bake.hcl
|
||||
targets: frappe-develop
|
||||
load: true
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
|
||||
- name: Build ERPNext images
|
||||
uses: docker/bake-action@v1.6.0
|
||||
@ -67,22 +68,7 @@ jobs:
|
||||
files: docker-bake.hcl
|
||||
targets: erpnext-develop
|
||||
load: true
|
||||
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||
|
||||
- name: Test
|
||||
run: ./.github/scripts/install-deps-and-test.sh
|
||||
|
||||
- name: Push Frappe images
|
||||
if: github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request'
|
||||
uses: docker/bake-action@v1.6.0
|
||||
with:
|
||||
files: docker-bake.hcl
|
||||
targets: frappe-develop
|
||||
push: true
|
||||
|
||||
- name: Push ERPNext images
|
||||
if: github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request'
|
||||
uses: docker/bake-action@v1.6.0
|
||||
with:
|
||||
files: docker-bake.hcl
|
||||
targets: erpnext-develop
|
||||
push: true
|
||||
|
32
.github/workflows/build_stable.yml
vendored
32
.github/workflows/build_stable.yml
vendored
@ -48,6 +48,7 @@ jobs:
|
||||
files: docker-bake.hcl
|
||||
targets: frappe-stable
|
||||
load: true
|
||||
push: true
|
||||
|
||||
- name: Setup ERPNext variables
|
||||
run: ./.github/scripts/get-latest-tag.sh
|
||||
@ -61,41 +62,12 @@ jobs:
|
||||
files: docker-bake.hcl
|
||||
targets: erpnext-stable
|
||||
load: true
|
||||
push: true
|
||||
|
||||
- name: Test
|
||||
if: ${{ matrix.version != 12 }}
|
||||
run: ./.github/scripts/install-deps-and-test.sh
|
||||
|
||||
- name: Setup Frappe variables
|
||||
if: github.repository == 'frappe/frappe_docker'
|
||||
run: ./.github/scripts/get-latest-tag.sh
|
||||
env:
|
||||
REPO: frappe/frappe
|
||||
VERSION: ${{ matrix.version }}
|
||||
|
||||
- name: Push Frappe images
|
||||
if: github.repository == 'frappe/frappe_docker'
|
||||
uses: docker/bake-action@v1.6.0
|
||||
with:
|
||||
files: docker-bake.hcl
|
||||
targets: frappe-stable
|
||||
push: true
|
||||
|
||||
- name: Setup ERPNext variables
|
||||
if: github.repository == 'frappe/frappe_docker'
|
||||
run: ./.github/scripts/get-latest-tag.sh
|
||||
env:
|
||||
REPO: frappe/erpnext
|
||||
VERSION: ${{ matrix.version }}
|
||||
|
||||
- name: Push ERPNext images
|
||||
if: github.repository == 'frappe/frappe_docker'
|
||||
uses: docker/bake-action@v1.6.0
|
||||
with:
|
||||
files: docker-bake.hcl
|
||||
targets: erpnext-stable
|
||||
push: true
|
||||
|
||||
- name: Setup Helm deploy key
|
||||
if: github.repository == 'frappe/frappe_docker'
|
||||
uses: webfactory/ssh-agent@v0.5.3
|
||||
|
Loading…
Reference in New Issue
Block a user