From 6762dc79ef1f9fb388ace9f149f052bc297da530 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 4 Dec 2024 12:59:12 -0700 Subject: [PATCH] print envs --- .github/workflows/release.yml | 8 ++++++++ Makefile | 1 + 2 files changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d85b538..0b34f7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,14 @@ jobs: run: | echo "$(make -s log | grep TAG)" >> "$GITHUB_ENV" echo "$(make -s log | grep ARCH)" >> "$GITHUB_ENV" + echo "$([ -z $REGISTRY_IMAGE ] && make -s log | grep REGISTRY_IMAGE)" >> "$GITHUB_ENV" + + - name: Print ENV values + id: print_Envs + run: | + echo "$GITHUB_ENV" + echo "$GITHUB_CONTEXT" + echo "$REGISTRY_IMAGE" - name: Docker meta id: meta-amd64 diff --git a/Makefile b/Makefile index 4be92dc..f113fb9 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,7 @@ log: @echo "ARCH=$(ARCH)" @echo "TAG=$(TAG:$(BUILD_META)=)" @echo "REPO=$(REPO)" + @echo "REGISTRY_IMAGE=$(REGISTRY_IMAGE)" @echo "PKG=$(PKG)" @echo "SRC=$(SRC)" @echo "BUILD_META=$(BUILD_META)"