diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a68d65f..d5bb5e3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,15 +116,15 @@ jobs: - 5432:5432 steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to ghcr.io - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: build-args: | codename=${{ matrix.codename }} @@ -140,13 +140,13 @@ jobs: cache-to: type=local,dest=/tmp/.buildx-cache load: true - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Tests run: docker run -v ${PWD}/tests:/mnt/tests --network=host -e PGHOST=localhost ghcr.io/oca/oca-ci/${{ matrix.image_name }}:latest /mnt/tests/runtests.sh -v # Don't bother with Odoo 8 and 9 for now... if: ${{ matrix.odoo_version != '8.0' && matrix.odoo_version != '9.0' }} - name: Push image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: build-args: | codename=${{ matrix.codename }}