From b4630a187850e80b34d35a5cbf0a6bf18a2d8bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:08:16 +0200 Subject: [PATCH 01/26] draft --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..11c2710 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Build binaries and create GitHub release + +# Set the permissions of the github token to the minimum and only enable what is needed +# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions +permissions: {} + +on: + push: + branches: + - main + +jobs: + build-and-release: + permissions: + content: write # for publishing release + strategy: + matrix: + - os: ubuntu-24.04 + - os: ubuntu-24.04-arm + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v6 + with: + persist-credentials: false + + - run: make -j From 449f79255386222bd4551cd01b2815f4317cd8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:09:02 +0200 Subject: [PATCH 02/26] typo --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11c2710..296dba8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: jobs: build-and-release: permissions: - content: write # for publishing release + contents: write # for publishing release strategy: matrix: - os: ubuntu-24.04 From 6f8a7612f6e164810e8b8f84098f971313c706d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:09:51 +0200 Subject: [PATCH 03/26] sequence not expected my ass --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 296dba8..e359417 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,10 @@ jobs: contents: write # for publishing release strategy: matrix: - - os: ubuntu-24.04 - - os: ubuntu-24.04-arm - runs-on: ${{ matrix.os }} + build: + - os: ubuntu-24.04 + - os: ubuntu-24.04-arm + runs-on: ${{ matrix.build.os }} steps: - uses: actions/checkout@v6 with: From 55a2f0fd780b258278df6f3b97906ff5d0cf12f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:11:47 +0200 Subject: [PATCH 04/26] only make bin --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e359417..98bc8ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,4 +24,4 @@ jobs: with: persist-credentials: false - - run: make -j + - run: make -j syshud From 9410f2b42c56e3de3236ffa4544e4fcf1095ce60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:20:24 +0200 Subject: [PATCH 05/26] install dependencies --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98bc8ab..446bfe2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,18 @@ jobs: build: - os: ubuntu-24.04 - os: ubuntu-24.04-arm + runs-on: ${{ matrix.build.os }} steps: - uses: actions/checkout@v6 with: persist-credentials: false + - run: | + apt-get install -y \ + libgtkmm-4.0-dev \ + libgtk4-layer-shell-dev \ + libwireplumber-0.5-dev \ + libevdev-dev + - run: make -j syshud From 99b787d7c129a25396457e2040616ed8aaa78101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:20:51 +0200 Subject: [PATCH 06/26] sudo --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 446bfe2..776a051 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: persist-credentials: false - run: | - apt-get install -y \ + sudo apt-get install -y \ libgtkmm-4.0-dev \ libgtk4-layer-shell-dev \ libwireplumber-0.5-dev \ From 51eaf91fd332b48c73179bcaca4ec3409ec5112b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:21:29 +0200 Subject: [PATCH 07/26] need i update??? --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 776a051..e999d0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: persist-credentials: false - run: | + sudo apt-get update + sudo apt-get install -y \ libgtkmm-4.0-dev \ libgtk4-layer-shell-dev \ From cdbf9924003ddd794064aef147a33b96be0447f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:24:41 +0200 Subject: [PATCH 08/26] correct names for ubuntu noble --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e999d0f..9add51c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,10 @@ jobs: persist-credentials: false - run: | - sudo apt-get update - sudo apt-get install -y \ libgtkmm-4.0-dev \ - libgtk4-layer-shell-dev \ - libwireplumber-0.5-dev \ + libgtk-layer-shell-dev \ + libwireplumber-0.4-dev \ libevdev-dev - run: make -j syshud From 72918fd43a17d070af3653c2a51d4aca1f511e47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:26:10 +0200 Subject: [PATCH 09/26] actually might need update here too.. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9add51c..753aed3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: persist-credentials: false - run: | + sudo apt-get update + sudo apt-get install -y \ libgtkmm-4.0-dev \ libgtk-layer-shell-dev \ From 8ce1d7d7d907e297a89cf7c891575f5ae5416b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:29:24 +0200 Subject: [PATCH 10/26] correct layershell?? --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 753aed3..bf4bdcf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: sudo apt-get install -y \ libgtkmm-4.0-dev \ - libgtk-layer-shell-dev \ + liblayershellqtinterface-dev \ libwireplumber-0.4-dev \ libevdev-dev From 0dbd731aa7e3c78ca71fea63640daf5cb5c2ad7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:45:42 +0200 Subject: [PATCH 11/26] create flake --- flake.lock | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 33 +++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 flake.lock create mode 100644 flake.nix diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..9140dbc --- /dev/null +++ b/flake.lock @@ -0,0 +1,61 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1780749050, + "narHash": "sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a799d3e3886da994fa307f817a6bc705ae538eeb", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..350fe65 --- /dev/null +++ b/flake.nix @@ -0,0 +1,33 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = + { + self, + nixpkgs, + flake-utils, + }: + flake-utils.lib.eachDefaultSystem ( + system: + let + pkgs = import nixpkgs { inherit system; }; + in + { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ + gnumake + pkg-config + gcc + + gtkmm4 + gtk4-layer-shell + wireplumber + libevdev + ]; + }; + } + ); +} From 893bf11afb1219326853577357e6bd9970bd5136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:52:00 +0200 Subject: [PATCH 12/26] use flake --- .github/workflows/release.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf4bdcf..e337f33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,13 +25,8 @@ jobs: with: persist-credentials: false - - run: | - sudo apt-get update + - uses: cachix/install-nix-action@v31 - sudo apt-get install -y \ - libgtkmm-4.0-dev \ - liblayershellqtinterface-dev \ - libwireplumber-0.4-dev \ - libevdev-dev + - run: nix develop --command make -j syshud - run: make -j syshud From 7e2086c4430dde6204caa0bd2b90fa98315ba1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:52:36 +0200 Subject: [PATCH 13/26] remove packages already in build-essential --- flake.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/flake.nix b/flake.nix index 350fe65..d16f737 100644 --- a/flake.nix +++ b/flake.nix @@ -18,10 +18,6 @@ { devShells.default = pkgs.mkShell { packages = with pkgs; [ - gnumake - pkg-config - gcc - gtkmm4 gtk4-layer-shell wireplumber From 7fb33a41705219216fac70427a5310f59ccb33f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:53:11 +0200 Subject: [PATCH 14/26] oops --- .github/workflows/release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e337f33..f79cd1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,5 +28,3 @@ jobs: - uses: cachix/install-nix-action@v31 - run: nix develop --command make -j syshud - - - run: make -j syshud From 122fd79d9866573eb30b54845daad4c9c8a7729c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:54:20 +0200 Subject: [PATCH 15/26] maybe did need pkg-config --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index d16f737..8aadaec 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,8 @@ { devShells.default = pkgs.mkShell { packages = with pkgs; [ + pkg-config + gtkmm4 gtk4-layer-shell wireplumber From 2b202399413ec97a1c54f461148e1ee6fb76d39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:57:06 +0200 Subject: [PATCH 16/26] add cache stpe --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f79cd1d..30f2c12 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,29 @@ jobs: with: persist-credentials: false + - name: Restore and save Nix store + uses: nix-community/cache-nix-action@v7 + with: + # restore and save a cache using this key + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} + # if there's no cache hit, restore a cache by this prefix + restore-prefixes-first-match: nix-${{ runner.os }}- + # collect garbage until the Nix store size (in bytes) is at most this number + # before trying to save a new cache + # 1G = 1073741824 + gc-max-store-size-linux: 1G + # do purge caches + purge: true + # purge all versions of the cache + purge-prefixes: nix-${{ runner.os }}- + # created more than this number of seconds ago + purge-created: 0 + # or last accessed this duration (ISO 8601 duration format) + # before the start of the `Post Restore and save Nix store` phase + purge-last-accessed: P1DT12H + # except any version with the key that is the same as the `primary-key` + purge-primary-key: never + - uses: cachix/install-nix-action@v31 - run: nix develop --command make -j syshud From a3aad0456322b7bb5e79b2487072a0a5b3012b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:57:41 +0200 Subject: [PATCH 17/26] do correct ordering --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30f2c12..b9c869a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,8 @@ jobs: with: persist-credentials: false + - uses: cachix/install-nix-action@v31 + - name: Restore and save Nix store uses: nix-community/cache-nix-action@v7 with: @@ -48,6 +50,4 @@ jobs: # except any version with the key that is the same as the `primary-key` purge-primary-key: never - - uses: cachix/install-nix-action@v31 - - run: nix develop --command make -j syshud From 414cffb18f0bcbc8c7d0545269546426a6b9687e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Wed, 10 Jun 2026 23:59:08 +0200 Subject: [PATCH 18/26] use matrix build os --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9c869a..a924483 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,9 @@ jobs: uses: nix-community/cache-nix-action@v7 with: # restore and save a cache using this key - primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} + primary-key: nix-${{ matrix.build.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} # if there's no cache hit, restore a cache by this prefix - restore-prefixes-first-match: nix-${{ runner.os }}- + restore-prefixes-first-match: nix-${{ matrix.build.os }}- # collect garbage until the Nix store size (in bytes) is at most this number # before trying to save a new cache # 1G = 1073741824 @@ -41,7 +41,7 @@ jobs: # do purge caches purge: true # purge all versions of the cache - purge-prefixes: nix-${{ runner.os }}- + purge-prefixes: nix-${{ matrix.build.os }}- # created more than this number of seconds ago purge-created: 0 # or last accessed this duration (ISO 8601 duration format) From 6c8483529726d5b869dc2610881c6c1785593bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Thu, 11 Jun 2026 00:00:25 +0200 Subject: [PATCH 19/26] nothing From 05697a499658250125e0117a292db8c84f6c83da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:07:48 +0200 Subject: [PATCH 20/26] replace nix flake with dockerfile --- Dockerfile | 15 ++++++++++++++ flake.lock | 61 ------------------------------------------------------ flake.nix | 31 --------------------------- 3 files changed, 15 insertions(+), 92 deletions(-) create mode 100644 Dockerfile delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8575357 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM debian + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && apt-get install -y \ + git \ + build-essential \ + libgtk4-layer-shell-dev \ + libgtkmm-4.0-dev \ + libpulse-dev \ + libevdev-dev \ + libwireplumber-0.5-dev \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /workspace diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 9140dbc..0000000 --- a/flake.lock +++ /dev/null @@ -1,61 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1780749050, - "narHash": "sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "a799d3e3886da994fa307f817a6bc705ae538eeb", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 8aadaec..0000000 --- a/flake.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - inputs = { - nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = - { - self, - nixpkgs, - flake-utils, - }: - flake-utils.lib.eachDefaultSystem ( - system: - let - pkgs = import nixpkgs { inherit system; }; - in - { - devShells.default = pkgs.mkShell { - packages = with pkgs; [ - pkg-config - - gtkmm4 - gtk4-layer-shell - wireplumber - libevdev - ]; - }; - } - ); -} From ae99129858a10cec13b8c682e605d655395eef54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:12:12 +0200 Subject: [PATCH 21/26] build using Docker --- .github/workflows/release.yml | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a924483..17d3fdb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,29 +25,6 @@ jobs: with: persist-credentials: false - - uses: cachix/install-nix-action@v31 + - run: docker build . -t syshud - - name: Restore and save Nix store - uses: nix-community/cache-nix-action@v7 - with: - # restore and save a cache using this key - primary-key: nix-${{ matrix.build.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }} - # if there's no cache hit, restore a cache by this prefix - restore-prefixes-first-match: nix-${{ matrix.build.os }}- - # collect garbage until the Nix store size (in bytes) is at most this number - # before trying to save a new cache - # 1G = 1073741824 - gc-max-store-size-linux: 1G - # do purge caches - purge: true - # purge all versions of the cache - purge-prefixes: nix-${{ matrix.build.os }}- - # created more than this number of seconds ago - purge-created: 0 - # or last accessed this duration (ISO 8601 duration format) - # before the start of the `Post Restore and save Nix store` phase - purge-last-accessed: P1DT12H - # except any version with the key that is the same as the `primary-key` - purge-primary-key: never - - - run: nix develop --command make -j syshud + - run: docker run --rm -it -u $(id -u):$(id -g) -v .:/workspace syshud make -j From 741b614de647627bbc5bb42150c52c864e76e552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:13:36 +0200 Subject: [PATCH 22/26] dont ask for titty --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17d3fdb..e7d2b95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,4 +27,4 @@ jobs: - run: docker build . -t syshud - - run: docker run --rm -it -u $(id -u):$(id -g) -v .:/workspace syshud make -j + - run: docker run --rm -u $(id -u):$(id -g) -v .:/workspace syshud make -j From ded99a25f0e369e64b4c92d30fe9f22130b87181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:18:39 +0200 Subject: [PATCH 23/26] possibly do correct caching --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7d2b95..08a0a10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,12 @@ jobs: with: persist-credentials: false - - run: docker build . -t syshud + - uses: docker/setup-buildx-action@v4 + + - uses: docker/build-push-action@v7 + with: + tags: syshud:latest + cache-from: type=gha + cache-to: type=gha,mode=max - run: docker run --rm -u $(id -u):$(id -g) -v .:/workspace syshud make -j From 8cbfff2059a51c7efa3daec1d162d2134e8dd0ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:26:20 +0200 Subject: [PATCH 24/26] actually load it? --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08a0a10..7e18f25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,7 @@ jobs: - uses: docker/build-push-action@v7 with: tags: syshud:latest + load: true cache-from: type=gha cache-to: type=gha,mode=max From 0215b6deb0385b462e150083af1547ea9d0a83c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:31:19 +0200 Subject: [PATCH 25/26] use slim dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8575357..d2e6763 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian +FROM debian:13-slim ENV DEBIAN_FRONTEND=noninteractive From 931d4d930d537cdd255741461b550746caad00e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C3=85kesson?= Date: Sat, 13 Jun 2026 23:31:26 +0200 Subject: [PATCH 26/26] only make binary --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e18f25..e6b0f7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,4 +34,4 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - run: docker run --rm -u $(id -u):$(id -g) -v .:/workspace syshud make -j + - run: docker run --rm -u $(id -u):$(id -g) -v .:/workspace syshud make -j syshud