diff --git a/templates/containerfiles.yml b/templates/containerfiles.yml
new file mode 100644
index 0000000000000000000000000000000000000000..fe42c0f157de6dd6f66db8ae9c75e765f725f876
--- /dev/null
+++ b/templates/containerfiles.yml
@@ -0,0 +1,27 @@
+---
+.container-build:
+  stage: build
+  variables:
+    DOCKER_BUILDKIT: "1"
+  tags: &tags [ns4.shore.co.il]
+  script:
+    - docker build --pull --no-cache --iidfile iid "$CONTEXT"
+  after_script:
+    - echo "HASH=$(cat iid)" > dot.env
+  artifacts:
+    reports:
+      dotenv: dot.env
+  rules: &rules
+    - if: $CI_PIPELINE_SOURCE == "schedule"
+    - if: $CI_PIPELINE_SOURCE == "push"
+      changes:
+        - $CONTEXT/*
+        - $CONTEXT/**/*
+
+.container-push:
+  stage: deploy
+  tags: *tags
+  script:
+    - docker tag "$HASH" "registry.shore.co.il/$IMAGE:${TAG:-latest}"
+    - docker push "registry.shore.co.il/$IMAGE:${TAG:-latest}"
+  rules: *rules