fix: pass GHCR_TOKEN to integration-test for image pull auth + add packages:read permission

This commit is contained in:
Celes Renata
2026-04-18 10:12:48 +00:00
parent 458e289cbf
commit 886c9831c3
+5
View File
@@ -175,6 +175,9 @@ jobs:
needs: [build-services, build-dashboard] needs: [build-services, build-dashboard]
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: self-hosted-gremlin runs-on: self-hosted-gremlin
permissions:
contents: read
packages: read
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
@@ -214,6 +217,8 @@ jobs:
kubectl cluster-info || echo "WARNING: kubectl cannot reach cluster API" kubectl cluster-info || echo "WARNING: kubectl cannot reach cluster API"
- name: Run integration tests - name: Run integration tests
env:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
bash infra/inttest/run_pipeline.sh \ bash infra/inttest/run_pipeline.sh \
--image-tag ${{ github.sha }} \ --image-tag ${{ github.sha }} \