Skip to content

Commit

Permalink
wrong if
Browse files Browse the repository at this point in the history
  • Loading branch information
spencercjh committed Dec 8, 2022
1 parent 2a9a2b8 commit 1878c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1878c90

Please sign in to comment.