Skip to content

Commit

Permalink
Merge pull request #80 from sbidoul/upg-gh-act-sbi
Browse files Browse the repository at this point in the history
ci: upgrade GitHub actions
  • Loading branch information
sbidoul authored Sep 25, 2024
2 parents b28fde3 + b456034 commit a75bfd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit a75bfd9

Please sign in to comment.