ci: add --quiet flag to nix commands #42
This file contains hidden or 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 docker images | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build and upload docker image | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: sudo rm -rf /opt& | |
| - uses: actions/checkout@v4 | |
| - uses: paolino/dev-assets/setup-nix@v0.0.1 | |
| with: | |
| cachix-auth-token: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: Build oracle docker image | |
| run: nix --quiet build .#moog-oracle-docker-image -o moog-oracle-image | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: moog-oracle-image | |
| path: ./moog-oracle-image | |
| - name: Build agent docker image | |
| run: nix --quiet build .#moog-agent-docker-image -o moog-agent-image | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: moog-agent-image | |
| path: ./moog-agent-image |