Skip to content

Commit 21a7fd2

Browse files
committed
feat: use a unique Dockerfile for all Odoo versions
1 parent a965db5 commit 21a7fd2

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
@@ -30,12 +30,16 @@ jobs:
3030
strategy:
3131
matrix:
3232
odoo_serie:
33-
- "14.0"
3433
- "15.0"
3534
- "16.0"
3635
- "17.0"
3736
- "18.0"
3837
- "19.0"
38+
python_from:
39+
- "python:3.12-slim-trixie"
40+
include:
41+
- odoo_serie: "14.0"
42+
python_from: "python:3.9-slim-trixie"
3943

4044
steps:
4145
- uses: actions/checkout@v4
@@ -69,6 +73,10 @@ jobs:
6973
uses: docker/build-push-action@v3
7074
with:
7175
context: ./build
76+
build-args: |
77+
VERSION={{ matrix.odoo_serie }}
78+
build-contexts: |
79+
python=docker-image://{{ matrix.python_from }}
7280
push: false
7381
load: true
7482
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)