Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.08 KB

running-jobs-in-a-container.md

File metadata and controls

41 lines (26 loc) · 1.08 KB
title shortTitle intro versions redirect_from
Running jobs in a container
Run jobs in a container
Use a container to run the steps in a job.
fpt ghes ghec
*
*
*
/actions/using-jobs/running-jobs-in-a-container

{% data reusables.actions.enterprise-github-hosted-runners %}

Overview

{% data reusables.actions.jobs.section-running-jobs-in-a-container %}

Defining the container image

{% data reusables.actions.jobs.section-running-jobs-in-a-container-image %}

Defining credentials for a container registry

{% data reusables.actions.jobs.section-running-jobs-in-a-container-credentials %}

Using environment variables with a container

{% data reusables.actions.jobs.section-running-jobs-in-a-container-env %}

Exposing network ports on a container

{% data reusables.actions.jobs.section-running-jobs-in-a-container-ports %}

Mounting volumes in a container

{% data reusables.actions.jobs.section-running-jobs-in-a-container-volumes %}

Setting container resource options

{% data reusables.actions.jobs.section-running-jobs-in-a-container-options %}