Skip to content

Commit

Permalink
[TMP] list docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Sep 19, 2024
1 parent e1a649b commit 8190706
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 89 deletions.
98 changes: 9 additions & 89 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,102 +14,14 @@ jobs:
strategy:
matrix:
include:
- ODOOVERSION: "10.0"
PYTHONTAG: py27
PYTHONBIN: python2.7
DISTRO: jammy
# /!\ python 3.6 and 3.7 are not supported anymore
- ODOOVERSION: "11.0"
PYTHONTAG: py36
PYTHONBIN: python3.6
DISTRO: focal
- ODOOVERSION: "12.0"
PYTHONTAG: py36
PYTHONBIN: python3.6
DISTRO: focal
- ODOOVERSION: "12.0"
PYTHONTAG: py37
PYTHONBIN: python3.7
DISTRO: focal
- ODOOVERSION: "12.0"
PYTHONTAG: py39
PYTHONBIN: python3.9
DISTRO: jammy
- ODOOVERSION: "13.0"
PYTHONTAG: py36
PYTHONBIN: python3.6
DISTRO: focal
- ODOOVERSION: "13.0"
PYTHONTAG: py37
PYTHONBIN: python3.7
DISTRO: focal
- ODOOVERSION: "13.0"
PYTHONTAG: py310
PYTHONBIN: python3.10
DISTRO: focal
- ODOOVERSION: "14.0"
PYTHONTAG: py36
PYTHONBIN: python3.6
DISTRO: focal
- ODOOVERSION: "14.0"
PYTHONTAG: py37
PYTHONBIN: python3.7
DISTRO: focal
- ODOOVERSION: "14.0"
PYTHONTAG: py38
PYTHONBIN: python3.8
DISTRO: focal
- ODOOVERSION: "14.0"
PYTHONTAG: py39
PYTHONBIN: python3.9
DISTRO: focal
- ODOOVERSION: "15.0"
PYTHONTAG: py38
PYTHONBIN: python3.8
DISTRO: focal
- ODOOVERSION: "15.0"
PYTHONTAG: py39
PYTHONBIN: python3.9
DISTRO: focal
- ODOOVERSION: "15.0"
PYTHONTAG: py39
PYTHONBIN: python3.9
DISTRO: jammy
- ODOOVERSION: "16.0"
PYTHONTAG: py39
PYTHONBIN: python3.9
DISTRO: jammy
- ODOOVERSION: "16.0"
PYTHONTAG: py310
PYTHONBIN: python3.10
DISTRO: jammy
- ODOOVERSION: "16.0"
PYTHONTAG: py311
PYTHONBIN: python3.11
DISTRO: jammy
- ODOOVERSION: "16.0"
PYTHONTAG: py312
PYTHONBIN: python3.12
DISTRO: jammy
- ODOOVERSION: "17.0"
PYTHONTAG: py310
PYTHONBIN: python3.10
DISTRO: jammy
- ODOOVERSION: "17.0"
PYTHONTAG: py311
PYTHONBIN: python3.11
DISTRO: jammy
- ODOOVERSION: "17.0"
PYTHONTAG: py312
PYTHONBIN: python3.12
DISTRO: jammy
- ODOOVERSION: "18.0"
PYTHONTAG: py312
PYTHONBIN: python3.12
DISTRO: noble
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
id: setup-buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v6
Expand All @@ -124,6 +36,14 @@ jobs:
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:${{ matrix.ODOOVERSION }}-${{ matrix.PYTHONTAG }}-${{ matrix.DISTRO }}-latest
cache-to: type=local,dest=/tmp/.buildx-cache
load: true
- run: |
docker image ls
cd wip
docker buildx ls
echo "builder: ${{ steps.setup-buildx.outputs.name }}"
docker build -t test .
docker compose build --builder=${{ steps.setup-buildx.outputs.name }}
if: ${{ matrix.ODOOVERSION == '18.0' }}
- name: Install test pre-requisites
run: pip install pytest
- name: Test
Expand Down
2 changes: 2 additions & 0 deletions wip/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM ghcr.io/acsone/odoo-bedrock:18.0-py312-noble-latest
RUN echo toto
3 changes: 3 additions & 0 deletions wip/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
odoo:
build: .

0 comments on commit 8190706

Please sign in to comment.