]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/test-kitchen.yml
GHA explicitly login to GHCR
[chef.git] / .github / workflows / test-kitchen.yml
index 900e708d1f72601620763d0432ed6ac79aa6437a..fd51dbced54bbbd6ef019e8469afed223e59cc0d 100644 (file)
@@ -128,6 +128,12 @@ jobs:
             os: ubuntu-2204
       fail-fast: false
     steps:
+    - name: Login to GitHub Container Registry
+      uses: docker/login-action@v2
+      with:
+        registry: ghcr.io
+        username: ${{ github.actor }}
+        password: ${{ secrets.GITHUB_TOKEN }}
     - name: Check out code
       uses: actions/checkout@v3
     - name: Setup ruby