You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The action should run, as it runs without kubernetes mode.
If I comment out the ACTIONS_RUNNER_CONTAINER_HOOKS, the action is working as expected.
Additional Context
Valuestemplate:
spec:
securityContext:
fsGroup: 1001containers:
- name: runnerimage: ghcr.io/mrclrchtr-de/actions-runner:v1.6.0env:
- name: ACTIONS_RUNNER_CONTAINER_HOOKSvalue: /home/runner/k8s/index.js
- name: ACTIONS_RUNNER_POD_NAMEvalueFrom:
fieldRef:
fieldPath: metadata.name
- name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINERvalue: 'false'
- name: DOCKER_HOSTvalue: unix:///var/run/docker.sock
- name: RUNNER_WAIT_FOR_DOCKER_IN_SECONDSvalue: "120"
- name: TEST_INTEGRATION_USE_SNAPSHOTTERvalue: "true"command:
- /home/runner/run.shvolumeMounts:
- mountPath: /home/runner/_workname: work
- mountPath: /var/runname: dind-sockWorkflow```yaml# A workflow run is made up of one or more jobs that can run sequentially or in paralleljobs: # This workflow contains a single job called "scan" scan: permissions: contents: read # for actions/checkout to fetch code security-events: write # for GitHub/codeql-action/upload-sarif to upload SARIF results actions: read # only required for a private repository by GitHub/codeql-action/upload-sarif to get the Action run status # noinspection YAMLSchemaValidation runs-on: k8s-runner # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so follow-up steps can access it - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Checkov GitHub Action uses: bridgecrewio/checkov-action@16a499510c688de562827ce542c1bc3e641aea2c # v12 with: # This will add both a CLI output to the console and create a results.sarif file output_format: cli,sarif output_file_path: console,results.sarif download_external_modules: true skip_check: CKV_GIT_5,CKV_GIT_6,CKV_TF_1 quiet: true soft_fail: true
### Controller Logs
```shell
n/a
Runner Pod Logs
n/a
The text was updated successfully, but these errors were encountered:
Checks
Controller Version
0.9.1
Deployment Method
ArgoCD
Checks
To Reproduce
Describe the bug
Error Message:
Describe the expected behavior
The action should run, as it runs without kubernetes mode.
If I comment out the ACTIONS_RUNNER_CONTAINER_HOOKS, the action is working as expected.
Additional Context
Runner Pod Logs
The text was updated successfully, but these errors were encountered: