diff --git a/.drone.star b/.drone.star index ef1168b..9ac0582 100644 --- a/.drone.star +++ b/.drone.star @@ -29,7 +29,7 @@ TEMPLATES = { }, "python": { "python": { - "image": "cr.smcm.xyz/coder-images/python${{data.coder_parameter.python_version.value}}${{locals.alpine}}:latest", + "image": "cr.smcm.xyz/coder-images/python", "python_versions": "3.8,3.11", "alpine_version": "3.18" } diff --git a/python.jinja b/python.jinja index d74c9e4..f278a24 100644 --- a/python.jinja +++ b/python.jinja @@ -25,4 +25,8 @@ data "coder_parameter" "python_version" { } {% endfor %} } +{% endblock %} + +{% block kubernetes_pod_main_image %} + image = "{{image}}${data.coder_parameter.python_version.value}${locals.alpine}:latest" {% endblock %} \ No newline at end of file