From 18c0fb7dc7f72ec018ee843751f7da2ab25cd87f Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Mon, 8 Sep 2025 15:32:34 +0200 Subject: [PATCH] anoooooother attempt --- .forgejo/workflows/build.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index aa356e6..bec3fea 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -17,6 +17,7 @@ jobs: name: Build and push images runs-on: default steps: + # cheatsheet: https://nexveridian.com/blog/forgejo-pushing-container-images/ - name: Install dependencies run: | nix-env -iA nixpkgs.nodejs nixpkgs.podman nixpkgs.kvmtool @@ -24,12 +25,23 @@ jobs: # configure container policy to accept insecure registry mkdir -p ~/.config/containers echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json + + # configure authentication + cat > ~/.podman/config.json <