Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitlab-runner gitlab-runner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,411
    • Issues 2,411
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 130
    • Merge requests 130
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • GitLab.org
  • gitlab-runnergitlab-runner
  • Issues
  • #4357
Closed
Open
Created Jun 12, 2019 by Steve Azzopardi@steveazzMaintainer

Expose image to custom executor

Description

With #2885 (closed) we added the MVC for the generic executor, which allows the user to setup their own environment.

We have the image keyword which is usually used to define what Docker image to be used. But this can be easily used for podman or lxc, we need to expose the value of image as an environment variable to jobs executed by the custom executor so that they are able to pull the right image.

Proposal

Send the value of image as an environment variable CUSTOM_ENV_CI_JOB_IMAGE or something similar.

Links to related issues and merge requests / references

#2885 (closed)

Edited Nov 20, 2019 by Georgi N. Georgiev
Assignee
Assign to
Time tracking