From f81c3e90405e7783826a68509f36ef2f2f15632c Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Thu, 17 Aug 2023 23:25:14 +0100 Subject: [PATCH] Remove github workflows --- .github/workflows/nix.yaml | 45 -------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/nix.yaml diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml deleted file mode 100644 index fbf6548..0000000 --- a/.github/workflows/nix.yaml +++ /dev/null @@ -1,45 +0,0 @@ -name: "Nix build" -on: - pull_request: - push: - branches: - - main -jobs: - tests: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v18 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - name: "Basic CLI and web build" - run: | - nix build .#tclip .#web - - name: "Docker image build" - run: | - nix build .#docker - docker load < ./result - - name: "docker login" - uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 - if: "github.event_name == 'push' && github.ref_name == 'main'" - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: "Docker image push" - if: "github.event_name == 'push' && github.ref_name == 'main'" - run: | - docker push ghcr.io/tailscale-dev/tclip:latest - - name: "Portable service build" - run: | - nix build .#portable-service - mkdir -p var - cp ./result/*.raw ./var - - uses: actions/upload-artifact@v3 - with: - name: portable-service - path: ./var/*.raw -