Skip to content

Commit

Permalink
Fix issue with the flipped behaviour of --no-push parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Jan 20, 2021
1 parent dccc03e commit 6b7e4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DbDockerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

$this->buildImage($imageId, $sqlFile);

if (!$this->options->getPush()) {
if ($this->options->getPush()) {
$this->output->writeln("<info>Pushing image...</info>");
$this->execCmd(['docker', 'push', $imageId]);
} else {
Expand Down

0 comments on commit 6b7e4a8

Please sign in to comment.