Skip to content

Commit 8e5c5a2

Browse files
Avinash Sridharanasridharan
authored andcommitted
Fixed docker-push target.
`docker-push` didn't have a dependency on the `dockerize` target because of which it was not building the deployment image before pushing it to the registry. Introduced the dependency to make `docker-push` work.
1 parent fbb2559 commit 8e5c5a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ add_custom_target(dockerpush
119119
COMMAND docker tag ${deployment_image_name}:${deployment_image_version} ${deployment_push_prefix}/${deployment_image_name}:latest
120120
COMMAND docker push ${deployment_push_prefix}/${deployment_image_name}:${deployment_image_version}
121121
COMMAND docker push ${deployment_push_prefix}/${deployment_image_name}:latest
122+
DEPENDS dockerize
122123
COMMENT "pushing to container registry"
123124
)
124125

0 commit comments

Comments
 (0)