diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 105d2c7..6cf0b7f 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -21,6 +21,9 @@ jobs: services: postgres: image: postgres:17 + credentials: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: readur POSTGRES_PASSWORD: readur @@ -34,6 +37,12 @@ jobs: --health-retries 5 steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Checkout code uses: actions/checkout@v5 diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 21fc2de..0e8e8b7 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -22,6 +22,9 @@ jobs: services: postgres: image: postgres:17 + credentials: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} env: POSTGRES_USER: readur POSTGRES_PASSWORD: readur @@ -35,6 +38,12 @@ jobs: --health-retries 5 steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Checkout code uses: actions/checkout@v5