Skip to content

Commit f82551e

Browse files
committed
update
1 parent 3a582b1 commit f82551e

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Commit-notifier container update"
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
container:
7+
runs-on: ubuntu-24.04-arm
8+
steps:
9+
- uses: DeterminateSystems/nix-installer-action@main
10+
- uses: actions/checkout@master
11+
12+
- run: |
13+
outPath=$(nix build --no-link --print-out-paths -f pkgs/default.nix commit-notifier-container)
14+
echo "outPath=$outPath" >> "$GITHUB_ENV"
15+
16+
- run: |
17+
skopeo copy --dest-creds "mlyxshi:${{ secrets.GIT_TOKEN }}" "docker-archive:$outPath" "docker://ghcr.io/mlyxshi/commit-notifier-arm64:latest"

host/darwin/default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
file
3131
htop
3232
iperf
33-
tree
3433
libarchive
3534
nix-tree
3635
nix-inspect
@@ -43,8 +42,6 @@
4342
starship
4443
zoxide
4544
eza
46-
xh
47-
bandwhich
4845
bat
4946
bat-extras.batman
5047
gdu

modules/nixos/base.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,17 @@
9898
dig
9999
file
100100
htop
101-
tree
102101
libarchive
103102
nix-output-monitor
104103
nix-tree
105104
nix-inspect
106-
nixfmt
107105
yazi-unwrapped
108106
helix
109-
nixd
110107
fd
111108
ripgrep
112109
starship
113110
zoxide
114111
eza
115-
xh
116112
bat
117113
bat-extras.batman
118114
gdu

pkgs/default.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,11 @@ rec {
3939
"GITHUB_TOKEN="
4040
"RUST_LOG=commit_notifier=info"
4141
];
42-
WorkingDirectory = "/data";
4342
Volumes = {
4443
"/data" = { };
4544
};
4645
};
4746
};
4847
}
4948
# nix-update commit-notifier --version=branch
50-
# nix-update transmission
51-
52-
# skopeo copy --dest-creds "mlyxshi:TOKEN" "docker-archive:$image_archive" "docker://ghcr.io/mlyxshi/commit-notifier-arm64:latest"
49+
# nix-update transmission

0 commit comments

Comments
 (0)