Created
April 5, 2021 21:16
-
-
Save rlittlefield/f5f4211ced01eb687211fcceafe75479 to your computer and use it in GitHub Desktop.
github actions bridge network for newly created image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BRIDGE_NETWORK_ID=$(docker network ls --filter=name=github_network_ --format="{{.ID}}") | |
docker run --network="$BRIDGE_NETWORK_ID" -i imagename dosomething |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment