]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/test-kitchen.yml
Report selected apache configuration options to prometheus
[chef.git] / .github / workflows / test-kitchen.yml
index 33af67104945a7c382f7bb5f2ac92444cd15c483..cb55b9b996c655d4ffa47081efba91dbd0f0cb0a 100644 (file)
@@ -3,6 +3,7 @@ name: Test Kitchen
 on:
   - push
   - pull_request
+  - workflow_dispatch
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
@@ -12,6 +13,8 @@ jobs:
   kitchen:
     name: Test Kitchen
     runs-on: ubuntu-22.04
+    permissions:
+      packages: read
     strategy:
       matrix:
         suite:
@@ -125,8 +128,14 @@ 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
+      uses: actions/checkout@v4
     - name: Setup ruby
       uses: ruby/setup-ruby@v1
       with: