Skip to content

Commit

Permalink
Set docker env file to bal push command
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedSabthar committed Oct 12, 2023
1 parent 2869681 commit 14a406c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/io/ballerina/plugin/BallerinaPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class BallerinaPlugin implements Plugin<Project> {
ballerinaDockerTag = dockerTag
}
def balPushWithDocker = """
docker run --rm --net=host --user root \
docker run --env-file $project.projectDir/docker.env --rm --net=host --user root \
-v $parentDirectory:/home/ballerina/$parentDirectory.name \
-v $projectDirectory:/home/ballerina/$parentDirectory.name/$projectDirectory.name \
ballerina/ballerina:$ballerinaDockerTag \
Expand Down

0 comments on commit 14a406c

Please sign in to comment.