Skip to content

Commit

Permalink
Fix: build Docker images before pushing (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 authored Dec 14, 2022
1 parent 55775ee commit 066e84d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="python-deploy",
version="4.0.0",
version="4.0.1",
author="msm, psrok1",
author_email="info@cert.pl",
description="Build, push and deploy k8s services with single "
Expand Down
1 change: 1 addition & 0 deletions src/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def build(self) -> None:
service.build_docker([self.version_tag] + extra_tags, self.args.no_cache)

def push(self) -> None:
self.build()
extra_tags = self.args.tag or []
for service in self.config.get_services():
logger.info(f"Pushing image for {service.service_name}")
Expand Down

0 comments on commit 066e84d

Please sign in to comment.