Move Docker image to run automated tests to GitHub Registry

This commit is contained in:
Frédéric Guillot 2023-03-19 21:53:32 -07:00 committed by Frédéric Guillot
parent a6df91c3ea
commit ea71761907
2 changed files with 25 additions and 5 deletions

View File

@ -7,7 +7,11 @@ on:
jobs:
Sqlite:
runs-on: ubuntu-latest
container: kanboard/tests:latest
container:
image: ghcr.io/kanboard/tests:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
@ -28,7 +32,11 @@ jobs:
Postgres:
runs-on: ubuntu-latest
container: kanboard/tests:latest
container:
image: ghcr.io/kanboard/tests:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
services:
postgres:
image: postgres:9.4
@ -66,7 +74,11 @@ jobs:
Mysql:
runs-on: ubuntu-latest
container: kanboard/tests:latest
container:
image: ghcr.io/kanboard/tests:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
services:
mysql:
image: mysql:5.7

View File

@ -7,7 +7,11 @@ on:
jobs:
Sqlite:
runs-on: ubuntu-latest
container: kanboard/tests:latest
container:
image: ghcr.io/kanboard/tests:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
@ -19,7 +23,11 @@ jobs:
Postgres:
runs-on: ubuntu-latest
container: kanboard/tests:latest
container:
image: ghcr.io/kanboard/tests:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
services:
postgres:
image: postgres:9.4