From 6d9d049aca7adedf9f77cd1b9e5ce9d7283e306d Mon Sep 17 00:00:00 2001 From: Defelo Date: Sun, 6 Mar 2022 01:01:09 +0100 Subject: [PATCH] Improved docker push --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc73a51..3ab36a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -259,6 +259,12 @@ jobs: set -ex for file in docker*/*.tar.gz; do + [[ "$file" == *_linux-amd64.tar.gz ]] && continue + echo Loading $file + docker load -qi $file | cut -d' ' -f3 | grep '^ghcr.io/' | xargs -L1 docker push + done + + for file in docker*/*_linux-amd64.tar.gz; do echo Loading $file docker load -qi $file | cut -d' ' -f3 | grep '^ghcr.io/' | xargs -L1 docker push done