mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
ci: add cleanup script for the image
This commit is contained in:
parent
b42bc0f722
commit
1cb206f77f
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -14,6 +14,8 @@ jobs:
|
|||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
keep-going = true
|
keep-going = true
|
||||||
|
- run: |
|
||||||
|
sudo apt clean
|
||||||
- name: Prepare push to binary cache
|
- name: Prepare push to binary cache
|
||||||
uses: cachix/cachix-action@v10
|
uses: cachix/cachix-action@v10
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
@ -32,6 +34,8 @@ jobs:
|
|||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
keep-going = true
|
keep-going = true
|
||||||
|
- run: |
|
||||||
|
sudo apt clean
|
||||||
- name: Prepare push to binary cache
|
- name: Prepare push to binary cache
|
||||||
uses: cachix/cachix-action@v10
|
uses: cachix/cachix-action@v10
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user