From ea717619075e7198c8d47ab3cd94b8a7b3abe989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sun, 19 Mar 2023 21:53:32 -0700 Subject: [PATCH] Move Docker image to run automated tests to GitHub Registry --- .github/workflows/integration_tests.yml | 18 +++++++++++++++--- .github/workflows/unit_tests.yml | 12 ++++++++++-- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 69fe03f7b..0ac8b8054 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -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 diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index eafeaefbb..f90c1ccb8 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -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