nix-containers/.drone.yml
Charlotte 🦝 Delenk 7c58135f4a
Some checks failed
continuous-integration/drone/push Build is failing
fix the buildimage
2022-06-27 16:53:18 +01:00

14 lines
459 B
YAML

---
kind: pipeline
type: docker
name: Build containers
steps:
- name: buildImage
image: git.chir.rs/darkkirb/nixos-containers:buildimage
commands:
- nix build '.#buildImage'
- cat reuslt | skopeo copy --dest-creds=darkkirb:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nixos-containers:buildImage --dest-compress-format gzip --dest-compress-level 9
environment:
GITEA_KEY:
from_secret: DOCKER_KEY