Skip to content

Commit 4424a8b

Browse files
committed
feat: use a unique Dockerfile for all Odoo versions
1 parent 5c16b75 commit 4424a8b

File tree

15 files changed

+22
-505
lines changed

15 files changed

+22
-505
lines changed

.github/workflows/build.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@ jobs:
3131
strategy:
3232
matrix:
3333
odoo_serie:
34-
- "14.0"
3534
- "15.0"
3635
- "16.0"
3736
- "17.0"
3837
- "18.0"
3938
- "19.0"
39+
python_from:
40+
- "python:3.12-slim-trixie"
41+
include:
42+
- odoo_serie: "14.0"
43+
python_from: "python:3.9-slim-trixie"
4044

4145
steps:
4246
- uses: actions/checkout@v4
@@ -70,6 +74,10 @@ jobs:
7074
uses: docker/build-push-action@v3
7175
with:
7276
context: ./build
77+
build-args: |
78+
VERSION=${{ matrix.odoo_serie }}
79+
build-contexts: |
80+
python=docker-image://${{ matrix.python_from }}
7381
push: false
7482
load: true
7583
tags: ci-5xx-latest:${{ matrix.odoo_serie }}

15.0/Dockerfile

Lines changed: 0 additions & 99 deletions
This file was deleted.

15.0/MANIFEST.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

16.0/Dockerfile

Lines changed: 0 additions & 99 deletions
This file was deleted.

16.0/MANIFEST.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

17.0/Dockerfile

Lines changed: 0 additions & 99 deletions
This file was deleted.

17.0/MANIFEST.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)