From f9f67f874c77eb43432fb3654790e4a1e201cb99 Mon Sep 17 00:00:00 2001 From: Thomas Roehr Date: Thu, 1 Aug 2024 16:48:40 +0200 Subject: [PATCH] ci: add debug --- .github/workflows/test.yml | 3 ++- .gitignore | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d8021c..63e3ce1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,7 +70,8 @@ jobs: id: push run: | IMAGE_NAME=${{ env.REGISTRY }}/rock-planning/templ-${{ matrix.os }} - DIGEST=$(docker push $IMAGE_NAME | tail -n 1) + docker push $IMAGE_NAME | tee docker_push.log + DIGEST=$(grep "digest: sha256" docker_push.log | tail -n 1) # : digest: sha256:.... size: XXX echo "digest=$(echo $DIGEST | cut -d' ' -f 3)" >> "$GITHUB_OUTPUT" diff --git a/.gitignore b/.gitignore index 77eab87..605c4df 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ scripts/output/ scripts/__pycache__ scripts/analyse/__pycache__ scripts/analyse/output +.cache