--- 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: # - set # - nix run .#login # - echo -n "$${PLUGIN_PASSWORD}" | podman login --username $${PLUGIN_USERNAME} --password-stdin $${PLUGIN_REGISTRY} - nix build .#nixos-runner - nix run .#push-container -- result # - podman load --input result | sed -n -e "s/Loaded image:.\\(.*\\)/\\1/p" > loaded-image # - cat loaded-image # - podman images # - podman tag "$$(