fix: pass GHCR_TOKEN to integration-test for image pull auth + add packages:read permission
This commit is contained in:
@@ -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 }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user