Skip to content

Commit

Permalink
fix: custom image pull and push
Browse files Browse the repository at this point in the history
Alow custom images for pull/push.
  • Loading branch information
dyudyunov authored and Faraz32123 committed Jun 7, 2024
1 parent b883636 commit 506672e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tutorcredentials/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@ def _mount_credentials_on_build(
(),
)
)
tutor_hooks.Filters.IMAGES_PULL.add_item(
(
"credentials",
"{{ CREDENTIALS_DOCKER_IMAGE }}",
)
)
tutor_hooks.Filters.IMAGES_PUSH.add_item(
(
"credentials",
"{{ CREDENTIALS_DOCKER_IMAGE }}",
)
)


########################################
Expand Down

0 comments on commit 506672e

Please sign in to comment.