Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward CI env vars in Docker containers #182

Merged
merged 1 commit into from
May 25, 2022
Merged

Forward CI env vars in Docker containers #182

merged 1 commit into from
May 25, 2022

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented May 25, 2022

list adapted from https://github.com/watson/ci-info/blob/master/index.js#L55-L58

>…ire/dev/github.com/jolicode/docker-starter(env *) inv test
Creating app_builder_run ... done
bool(false)
bool(false)

>…ire/dev/github.com/jolicode/docker-starter(env *) GITHUB_ACTIONS=12345 inv test
Creating app_builder_run ... done
string(5) "12345"
bool(false)

>…ire/dev/github.com/jolicode/docker-starter(env *) cat application/test.php
<?php

var_dump($_SERVER['GITHUB_ACTIONS'] ?? false);
var_dump($_SERVER['FOOBAR'] ?? false);

fixed #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forward CI env vars in Docker containers
3 participants