mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
feat: added v16 docker images
This commit is contained in:
parent
c9f78de38d
commit
090f74617a
2 changed files with 14 additions and 2 deletions
4
.github/scripts/get_latest_tags.py
vendored
4
.github/scripts/get_latest_tags.py
vendored
|
|
@ -9,7 +9,7 @@ import sys
|
||||||
from typing import Literal
|
from typing import Literal
|
||||||
|
|
||||||
Repo = Literal["frappe", "erpnext"]
|
Repo = Literal["frappe", "erpnext"]
|
||||||
MajorVersion = Literal["12", "13", "14", "15", "develop"]
|
MajorVersion = Literal["12", "13", "14", "15", "16", "develop"]
|
||||||
|
|
||||||
|
|
||||||
def get_latest_tag(repo: Repo, version: MajorVersion) -> str:
|
def get_latest_tag(repo: Repo, version: MajorVersion) -> str:
|
||||||
|
|
@ -57,7 +57,7 @@ def main(_args: list[str]) -> int:
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("--repo", choices=["frappe", "erpnext"], required=True)
|
parser.add_argument("--repo", choices=["frappe", "erpnext"], required=True)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--version", choices=["12", "13", "14", "15", "develop"], required=True
|
"--version", choices=["12", "13", "14", "15", "16", "develop"], required=True
|
||||||
)
|
)
|
||||||
args = parser.parse_args(_args)
|
args = parser.parse_args(_args)
|
||||||
|
|
||||||
|
|
|
||||||
12
.github/workflows/build_stable.yml
vendored
12
.github/workflows/build_stable.yml
vendored
|
|
@ -54,6 +54,18 @@ jobs:
|
||||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
v16:
|
||||||
|
uses: ./.github/workflows/docker-build-push.yml
|
||||||
|
with:
|
||||||
|
repo: erpnext
|
||||||
|
version: "16"
|
||||||
|
push: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }}
|
||||||
|
python_version: 3.12.12
|
||||||
|
node_version: 22.21.1
|
||||||
|
secrets:
|
||||||
|
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
update_versions:
|
update_versions:
|
||||||
name: Update example.env and pwd.yml
|
name: Update example.env and pwd.yml
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue