summaryrefslogtreecommitdiffstats
path: root/pkg/runner/runner_test.go
diff options
context:
space:
mode:
authorChristopherHX <christopher.homberger@web.de>2022-06-21 00:47:39 +0200
committerGitHub <noreply@github.com>2022-06-21 00:47:39 +0200
commitb59e6dee6d01253cb96505f8effc0516c2a390d9 (patch)
tree11dcc0b78aa43d1584eb22fc91788fcdaeaf14a7 /pkg/runner/runner_test.go
parentfix: processing of strategy.matrix.include (#1200) (diff)
downloadforgejo-act-b59e6dee6d01253cb96505f8effc0516c2a390d9.tar.xz
forgejo-act-b59e6dee6d01253cb96505f8effc0516c2a390d9.zip
feat: non root user container (#1202)
* feat: non root user container * Also chown WorkingDir * . * . * Update docker_run.go * Add Test * Update runner_test.go * Update docker_run.go * Apply suggestions from code review Co-authored-by: R <me@hackerc.at> * remove cruft from master merge Co-authored-by: R <me@hackerc.at> Co-authored-by: Casey Lee <cplee@nektos.com> Co-authored-by: Casey Lee <caseypl@amazon.com>
Diffstat (limited to 'pkg/runner/runner_test.go')
-rw-r--r--pkg/runner/runner_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/runner/runner_test.go b/pkg/runner/runner_test.go
index 2129c43..c116bc5 100644
--- a/pkg/runner/runner_test.go
+++ b/pkg/runner/runner_test.go
@@ -158,6 +158,7 @@ func TestRunEvent(t *testing.T) {
{workdir, "container-hostname", "push", "", platforms},
{workdir, "remote-action-docker", "push", "", platforms},
{workdir, "remote-action-js", "push", "", platforms},
+ {workdir, "remote-action-js", "push", "", map[string]string{"ubuntu-latest": "ghcr.io/catthehacker/ubuntu:runner-latest"}}, // Test if this works with non root container
{workdir, "matrix", "push", "", platforms},
{workdir, "matrix-include-exclude", "push", "", platforms},
{workdir, "commands", "push", "", platforms},