Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ jobs:
strategy:
matrix:
odoo_serie:
- "14.0"
- "15.0"
- "16.0"
- "17.0"
- "18.0"
- "19.0"
python_from:
- "python:3.12-slim-trixie"
include:
- odoo_serie: "14.0"
python_from: "python:3.9-slim-trixie"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -66,9 +70,13 @@ jobs:
VERSION=${{ matrix.odoo_serie }} SRC=build make setup

- name: Build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: ./build
build-args: |
VERSION=${{ matrix.odoo_serie }}
build-contexts: |
python=docker-image://${{ matrix.python_from }}
push: false
load: true
tags: ci-5xx-latest:${{ matrix.odoo_serie }}
Expand Down Expand Up @@ -96,13 +104,16 @@ jobs:
skip-upload: false
sysdig-secure-token: ${{ secrets.SYSDIG_SECURE_TOKEN }}


- name: Tag & Push
if: github.event_name == 'push' || github.event_name == 'schedule'
id: docker_push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: ./build
build-args: |
VERSION=${{ matrix.odoo_serie }}
build-contexts: |
python=docker-image://${{ matrix.python_from }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
Expand Down
101 changes: 0 additions & 101 deletions 15.0/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion 15.0/MANIFEST.in

This file was deleted.

101 changes: 0 additions & 101 deletions 16.0/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion 16.0/MANIFEST.in

This file was deleted.

101 changes: 0 additions & 101 deletions 17.0/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion 17.0/MANIFEST.in

This file was deleted.

Loading