From 8811a0d6e7988b01e84eceed44b96349e6b3df61 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Tue, 8 Feb 2022 12:51:55 -0600 Subject: [PATCH 1/3] listing secrets as being available in job.container --- content/actions/learn-github-actions/contexts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/learn-github-actions/contexts.md b/content/actions/learn-github-actions/contexts.md index ffad10c4e1..bf23322ffd 100644 --- a/content/actions/learn-github-actions/contexts.md +++ b/content/actions/learn-github-actions/contexts.md @@ -76,7 +76,7 @@ The following table indicates where each context and special function can be use | concurrency | github, inputs | | | env | github, secrets, inputs | | | jobs.<job_id>.concurrency | github, needs, strategy, matrix, inputs | | -| jobs.<job_id>.container | github, needs, strategy, matrix, inputs | | +| jobs.<job_id>.container | github, needs, strategy, matrix, secrets, inputs | | | jobs.<job_id>.container.credentials | github, needs, strategy, matrix, env, secrets, inputs | | | jobs.<job_id>.container.env.<env_id> | github, needs, strategy, matrix, job, runner, env, secrets, inputs | | | jobs.<job_id>.continue-on-error | github, needs, strategy, matrix, inputs | | From fc9f728ac4028e5afb50ff2ec8cc63b3720a56f2 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Tue, 8 Feb 2022 12:59:39 -0600 Subject: [PATCH 2/3] adding job containers to docker container reusable --- data/reusables/github-actions/docker-container-os-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/github-actions/docker-container-os-support.md b/data/reusables/github-actions/docker-container-os-support.md index 8dc5f40b5c..e334bce18c 100644 --- a/data/reusables/github-actions/docker-container-os-support.md +++ b/data/reusables/github-actions/docker-container-os-support.md @@ -1,6 +1,6 @@ {% note %} -**Note:** If your workflows use Docker container actions or service containers, then you must use a Linux runner: +**Note:** If your workflows use Docker container actions, job containers, or service containers, then you must use a Linux runner: * If you are using {% data variables.product.prodname_dotcom %}-hosted runners, you must use an Ubuntu runner. * If you are using self-hosted runners, you must use a Linux machine as your runner and Docker must be installed. From ecf63b5166c120131fe3f7179ac0216823ff9cb4 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Tue, 8 Feb 2022 13:00:01 -0600 Subject: [PATCH 3/3] adding reusable to note that you have to use linux runners --- .../using-workflows/workflow-syntax-for-github-actions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/actions/using-workflows/workflow-syntax-for-github-actions.md b/content/actions/using-workflows/workflow-syntax-for-github-actions.md index f3c3379e0b..440edcc597 100644 --- a/content/actions/using-workflows/workflow-syntax-for-github-actions.md +++ b/content/actions/using-workflows/workflow-syntax-for-github-actions.md @@ -757,6 +757,8 @@ strategy: ## `jobs..container` +{% data reusables.github-actions.docker-container-os-support %} + {% data reusables.actions.jobs.section-running-jobs-in-a-container %} ### `jobs..container.image`