Skip to content

flake: update

flake: update #1210

Workflow file for this run

name: "ci"
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: dendrite-demo-pinecone
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix-build
- run: nix build .#dockerImage
- run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u bbigras --password-stdin
- run: ./result | gzip | nix run nixpkgs#skopeo -- --insecure-policy copy docker-archive:/dev/stdin docker://ghcr.io/bbigras/dendrite-demo-pinecone
if: ${{ github.event_name == 'push' }}