ci: remove version 12 builds

This commit is contained in:
Revant Nandgaonkar 2022-09-10 16:49:54 +05:30
parent 5465247345
commit 4b9ddd17d8
2 changed files with 1 additions and 12 deletions

View file

@ -34,16 +34,6 @@ on:
workflow_dispatch:
jobs:
v12:
uses: ./.github/workflows/docker-build-push.yml
with:
repo: erpnext
version: "12"
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
v13:
uses: ./.github/workflows/docker-build-push.yml
with:

View file

@ -73,8 +73,7 @@ target "default-args" {
BENCH_REPO = "${BENCH_REPO}"
FRAPPE_VERSION = "${FRAPPE_VERSION}"
ERPNEXT_VERSION = "${ERPNEXT_VERSION}"
# If `ERPNEXT_VERSION` variable contains "v12" use Python 3.7. If "v13"  3.9. Else 3.10.
PYTHON_VERSION = can(regex("v12", "${ERPNEXT_VERSION}")) ? "3.7" : can(regex("v13", "${ERPNEXT_VERSION}")) ? "3.9" : "3.10"
PYTHON_VERSION = can(regex("v13", "${ERPNEXT_VERSION}")) ? "3.9" : "3.10"
}
}