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

Encrypted environment variables question... #30

Open
mrapptambour opened this issue Oct 24, 2016 · 1 comment
Open

Encrypted environment variables question... #30

mrapptambour opened this issue Oct 24, 2016 · 1 comment

Comments

@mrapptambour
Copy link

mrapptambour commented Oct 24, 2016

In reference to 11. encrypted-aes:

Note - please forgive any docker ignorance that may follow here.

But...could one please explain why commands executed from codeship-steps.yml appear to have a different environment variable context as the same command executed from within a Dockerfile of the same step?

`
ADD check_for_foo.sh .

Why does this command fail and not contain CI* and FOO environment variables?

RUN ./check_for_foo.sh
`

Fork: https://github.com/mrapptambour/codeship-tool-examples/blob/master/11.encrypted-aes/Dockerfile

@mlocher
Copy link
Contributor

mlocher commented Oct 27, 2016

Hey @mrapptambour,

with the support for build arguments (which was merged with moby/moby#15182) and released in v1.9.0 environment variables from the host aren't available during the build any longer.

We're working on supporting the Docker Compose v2 configuration file format, which will add support for build arguments to our Docker based platform as well.

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

No branches or pull requests

2 participants