4cbd3e2f87
Build containers when image tags change / build-if-image-changed (., web, containers, main container, git.baumann.gr/adebaumann/labhelper) (push) Successful in 1m3s
Build containers when image tags change / build-if-image-changed (data-loader, loader, initContainers, init-container, git.baumann.gr/adebaumann/labhelper-data-loader) (push) Successful in 4s
8 lines
164 B
Python
8 lines
164 B
Python
import os
|
|
|
|
|
|
def image_tag(request):
|
|
"""Add the image tag to all template contexts."""
|
|
return {
|
|
'image_tag': os.environ.get('IMAGE_TAG', 'dev')
|
|
} |