From 11766ad9b9674268a6ecfd6c3cb8f2293c75cddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20N=C3=BCtzi?= Date: Sat, 6 Jul 2024 22:10:39 +0200 Subject: [PATCH] fix: CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gabriel Nützi --- .github/workflows/normal.yaml | 2 +- tools/ci/upload-image.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/normal.yaml b/.github/workflows/normal.yaml index c82ba45..77b3cc0 100644 --- a/.github/workflows/normal.yaml +++ b/.github/workflows/normal.yaml @@ -138,7 +138,7 @@ jobs: - name: Build package (nix) run: | - just nix-develop-ci nix-package + just nix-develop-ci just nix-package - name: Build container image (nix) run: | diff --git a/tools/ci/upload-image.sh b/tools/ci/upload-image.sh index 13b873c..f1fa582 100755 --- a/tools/ci/upload-image.sh +++ b/tools/ci/upload-image.sh @@ -30,6 +30,9 @@ function main() { print_info "Read the image from file '$image_path' and " \ "directly push to registry '$image_name'." + cat "$HOME/.docker/config.json" + docker login + skopeo \ --insecure-policy \ copy \