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

Add network to configfile for Docker runners #17069

Draft
wants to merge 2 commits into
base: develop2
Choose a base branch
from

Conversation

czoido
Copy link
Contributor

@czoido czoido commented Sep 26, 2024

Changelog: Feature: Add network to configfile for Docker runners.
Docs: TODO

This lets you add the network to the docker run, this was very useful for me while trying to debug this #16834 launching a local docker artifactory.

Leaving in draft because we can't test this...

image: my-conan-runner-image
build:
    dockerfile: /Users/barbarian/runner/mylib
    build_context:  /Users/barbarian/runner/mylib
    build_args:
        BASE_IMAGE: ubuntu:22.04
run:
    name: my-conan-runner
    containerEnv:
        CONAN_PASSWORD_SERVER: password
        CONAN_LOGIN_USERNAME_SERVER: admin
    network: my-network

@czoido czoido added this to the 2.8.0 milestone Sep 26, 2024
@czoido czoido modified the milestones: 2.8.0, 2.9.0 Sep 27, 2024
@czoido czoido modified the milestones: 2.9.0, 2.10.0 Oct 28, 2024
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.

2 participants