]> git.openstreetmap.org Git - chef.git/commitdiff
GHA explicitly login to GHCR
authorGrant Slater <github@firefishy.com>
Thu, 31 Aug 2023 14:09:53 +0000 (15:09 +0100)
committerGrant <github@firefishy.com>
Thu, 31 Aug 2023 20:26:34 +0000 (21:26 +0100)
.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