From 16318cb3bd9af80d4acf133973524f02c61f1020 Mon Sep 17 00:00:00 2001 From: Elad Kohavi Date: Sun, 10 Sep 2023 10:50:28 +0300 Subject: [PATCH] remove own tag --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 00c87900..01718252 100644 --- a/action.yml +++ b/action.yml @@ -109,10 +109,10 @@ runs: value="${!var}" echo "$var=$value" >> "$env_file" done - docker pull gitstream/rules-engine:eladushTag + docker pull gitstream/rules-engine:latest echo "docker-pull-duration=$SECONDS" >> $GITHUB_OUTPUT SECONDS=0 - docker run --env-file $env_file -v $(pwd)/gitstream:/code -e USE_CACHE=${{ steps.cache-gitstream-results.outputs.cache-hit }} -e HEAD_REF=$'upstream/${{ steps.escape-quotes.outputs.head_ref }}' -e BASE_REF=$'${{ steps.escape-quotes.outputs.base_ref }}' -e CLIENT_PAYLOAD=${{ github.event.inputs.client_payload }} -e RULES_RESOLVER_URL=${{ github.event.inputs.resolver_url }} -e RULES_RESOLVER_TOKEN=${{ github.event.inputs.resolver_token }} -e DEBUG_MODE=${{ github.event.inputs.debug_mode }} gitstream/rules-engine:eladushTag + docker run --env-file $env_file -v $(pwd)/gitstream:/code -e USE_CACHE=${{ steps.cache-gitstream-results.outputs.cache-hit }} -e HEAD_REF=$'upstream/${{ steps.escape-quotes.outputs.head_ref }}' -e BASE_REF=$'${{ steps.escape-quotes.outputs.base_ref }}' -e CLIENT_PAYLOAD=${{ github.event.inputs.client_payload }} -e RULES_RESOLVER_URL=${{ github.event.inputs.resolver_url }} -e RULES_RESOLVER_TOKEN=${{ github.event.inputs.resolver_token }} -e DEBUG_MODE=${{ github.event.inputs.debug_mode }} gitstream/rules-engine echo "docker-run-duration=$SECONDS" >> $GITHUB_OUTPUT echo "action-run-duration=$(($EPOCHSECONDS - ${{ steps.start.outputs.timestamp }}))" >> $GITHUB_OUTPUT shell: bash