--- kind: secret name: docker_username get: path: docker name: username --- kind: secret name: docker_password get: path: docker name: password --- kind: pipeline type: kubernetes name: publish steps: - name: build image: docker.io/jcollie/nixos-runner:latest pull: always commands: - nix build .#nixos-runner - nix run .#push-container -- result settings: registry: docker.io repository: jcollie/nixos-runner username: from_secret: docker_username password: from_secret: docker_password