Move Docker image to run automated tests to GitHub Registry
This commit is contained in:
committed by
Frédéric Guillot
parent
a6df91c3ea
commit
ea71761907
18
.github/workflows/integration_tests.yml
vendored
18
.github/workflows/integration_tests.yml
vendored
@@ -7,7 +7,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Sqlite:
|
Sqlite:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Validate composer.json and composer.lock
|
- name: Validate composer.json and composer.lock
|
||||||
@@ -28,7 +32,11 @@ jobs:
|
|||||||
|
|
||||||
Postgres:
|
Postgres:
|
||||||
runs-on: ubuntu-latest
|
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:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:9.4
|
image: postgres:9.4
|
||||||
@@ -66,7 +74,11 @@ jobs:
|
|||||||
|
|
||||||
Mysql:
|
Mysql:
|
||||||
runs-on: ubuntu-latest
|
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:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:5.7
|
image: mysql:5.7
|
||||||
|
|||||||
12
.github/workflows/unit_tests.yml
vendored
12
.github/workflows/unit_tests.yml
vendored
@@ -7,7 +7,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
Sqlite:
|
Sqlite:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Validate composer.json and composer.lock
|
- name: Validate composer.json and composer.lock
|
||||||
@@ -19,7 +23,11 @@ jobs:
|
|||||||
|
|
||||||
Postgres:
|
Postgres:
|
||||||
runs-on: ubuntu-latest
|
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:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:9.4
|
image: postgres:9.4
|
||||||
|
|||||||
Reference in New Issue
Block a user