python/python-hello-world/skaffold.yaml (16 lines of code) (raw):
# To learn more about the skaffold.yaml schema visit
# https://skaffold.dev/docs/references/yaml/
apiVersion: skaffold/v2beta19
kind: Config
build:
tagPolicy:
sha256: {}
# defines where to find the code at build time and where to push the resulting image
artifacts:
- context: src
image: python-hello-world
# defines the Kubernetes manifests to deploy on each run
deploy:
kubectl:
manifests:
- kubernetes-manifests/**
# use the cloudbuild profile to build images using Google Cloud Build
profiles:
- name: cloudbuild
build:
googleCloudBuild: {}