From 431b827da7dcce5f849507f1fc2a3bb012632b9e Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Sat, 2 Nov 2024 16:51:57 +0100 Subject: [PATCH] log into docker for API push --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68f44b57..b81ee219 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -87,6 +87,13 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Pull database run: | docker pull ghcr.io/hiddewie/openrailwaymap-import-db:${{ github.sha }}