From 1878c90d438d18f4332829c2c749cc094925cedc Mon Sep 17 00:00:00 2001 From: spencercjh Date: Thu, 8 Dec 2022 20:12:00 +0800 Subject: [PATCH] wrong if --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index eea3016..bf83e4a 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ runs: run: skopeo copy --src-creds ${{ inputs.src-creds }} docker://${{ inputs.src-image }} docker://${{ inputs.dst-image }} shell: bash - name: copy with dst-creds only - if: ${{ inputs.sre-creds == '' && inputs.dst-creds != '' }} + if: ${{ inputs.src-creds == '' && inputs.dst-creds != '' }} run: skopeo copy --dest-creds ${{ inputs.dst-creds }} docker://${{ inputs.src-image }} docker://${{ inputs.dst-image }} shell: bash - name: copy with src-creds and dst-creds