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

The example for docker_config_file is not correct #1111

Open
1 of 2 tasks
julien-carsique-sonarsource opened this issue Nov 30, 2022 · 0 comments
Open
1 of 2 tasks

The example for docker_config_file is not correct #1111

julien-carsique-sonarsource opened this issue Nov 30, 2022 · 0 comments
Labels

Comments

@julien-carsique-sonarsource
Copy link
Contributor

Expected Behavior

The following snippet from the documentation should allow customizing the docker configuration.

task:
  environment:
    DOCKER_CONFIG: ENCRYPTED[qwerty]
  docker_config_file:
    path: /root/.docker/config
    variable_name: DOCKER_CONFIG

Real Behavior

DOCKER_CONFIG is a reserved keyword by Docker. Using it breaks the Docker configuration resolution.
The correct file path is /root/.docker/config.json.

Related Info

This is a (tick one of the following):

julien-carsique-sonarsource added a commit to julien-carsique-sonarsource/cirrus-ci-docs that referenced this issue Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant