I have a use case where I build the image once using Github Actions to Github container repository. I would then like to use Skaffold to deploy that image already built to multiple Kubernetes clusters. The build and deploy need to be separate so we don't use Skaffold to build but to only to deploy.
apiVersion: skaffold/v2beta4
kind: Config
metadata:
name: svc-one
build:
local:
push: true
useDockerCLI: true
artifacts:
- image: registry.digitalocean.com/xyz/svc-one
docker:
dockerfile: Dockerfile <-- instead of this use existing built image from github
deploy:
kubectl:
manifests:
- k8s/deployment.yaml