From 8c8c530d4e8f4a68c55a5b9b061d6019169aa14f Mon Sep 17 00:00:00 2001 From: Andreas Rocznik Date: Fri, 8 Dec 2023 14:51:46 +0100 Subject: [PATCH] asd --- action.yml | 2 +- check.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3ccaeeb..7f5759f 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,7 @@ inputs: outputs: exist: description: "Returns either true or false" - value: ${{ steps.check.outputs.differs }} + value: ${{ steps.check.outputs.exist }} runs: using: "composite" diff --git a/check.sh b/check.sh index 1305701..623eaac 100755 --- a/check.sh +++ b/check.sh @@ -3,6 +3,7 @@ set -e echo "$1" echo "$2" + TAGS=$( (skopeo list-tags $1 || echo '{"Tags":[]}' )| jq '["alatest","latest"] - .Tags') echo $TAGS | jq '"Tag not found: "+ .[]' RESULT=$(echo $TAGS | jq '.==[]')