skaffold
skaffold copied to clipboard
skaffold support for podman login store
Expected behavior
podman login <registry>
skaffold build
skaffold is able to build and push images
(podmans docker compatibility is enabled, so builds work fine)
Actual behavior
skaffold fails on missing registry credentials, as it can't find $XDG_RUNTIME_DIR/containers/auth.json
Information
- Skaffold version: v2.13.2
- Operating system: Fedora 41
- Installed via: github release
- Contents of skaffold.yaml:
apiVersion: skaffold/v4beta4
kind: Config
metadata:
name: podman test
build:
tagPolicy:
gitCommit:
variant: CommitSha
ignoreChanges: true
artifacts:
- image: <private registry>
context: .
docker:
dockerfile: ./container_images/Containerfile
buildArgs:
GIT_HASH: "{{.GIT.COMMIT}}"
so I have resolved it by symlinking podmans auth.json to config.json
ln -s $XDG_RUNTIME_DIR/containers/auth.json ~/.docker/config.json
It would still be nice to support that directly in skaffold, eg. look at that path for creds?