Don't push PR builds to cachix #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build' | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v21 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: welteki | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Build faasd 🔧 | |
run: | | |
nix build -L .#faasd | |
- name: Build containerd 🔧 | |
run: | | |
nix build -L .#faasd-containerd | |
- name: Build cni-plugin 🔧 | |
run: | | |
nix build -L .#faasd-cni-plugins | |
- name: Build OpenFaaS core images 🔧 | |
run: | | |
nix build .#gateway-image \ | |
.#queue-worker-image \ | |
.#nats-image \ | |
.#prometheus-image |