Skip to content

How can I configure container images for jobs? #18

Open
@hartwig-wutscher-ibm

Description

@hartwig-wutscher-ibm

I have some steps that run in a custom Image, e.g.

  test-and-sonar-scan:
    environment: default
    runs-on: [ self-hosted ]
    container:
      image: sonarsource/sonar-scanner-cli:4
   steps:
     [ ... ]

This results in the following error:

Current runner version: '2.284.0'
Runner name: '****'
Runner group name: 'bwi-runner'
Machine name: '****'
GITHUB_TOKEN Permissions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)
Error: docker: command not found

I've tried using the podman runner image adapted so it uses podaman as a drop-in replacement for, but that opened a whole host of new issues.

Is there a proper way to configer the runner to be running a job in a defined container?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions