Skip to content

Commit

Permalink
ci: remove oci container builder
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Feb 16, 2025
1 parent 4666868 commit 633fb0b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,7 @@ jobs:
with:
name: trickypr
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- run: nix build
- run: docker load < result
- run: docker push ghcr.io/anucssa/rubric-merge:latest
- run: nix build .#bin
- uses: actions/upload-artifact@v4
with:
path: ./result/bin/rubric-merge
Expand Down
7 changes: 1 addition & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
let
overlays = [ (import rust-overlay) ];
package = import ./nix/package.nix;
docker-image = import ./nix/docker-image.nix;
pkgs = import nixpkgs {
inherit system overlays;
};
Expand All @@ -51,11 +50,7 @@
inherit pkgs;
naersk = naersk';
};
docker = docker-image {
inherit pkgs;
bin = bin;
};
default = docker;
default = bin;
};

devShells.default =
Expand Down
9 changes: 0 additions & 9 deletions nix/docker-image.nix

This file was deleted.

0 comments on commit 633fb0b

Please sign in to comment.