File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,13 @@ runs:
4646 password : ${{ inputs.artifactory_password }}
4747 registry : ${{ inputs.artifactory_registry }}
4848
49- - name : " Create detached signature for filename "
49+ - name : " Create detached signature for file "
5050 run : |
51- export filenames="${{ inputs.filenames }}"
52- for filename in "${filenames[@]}"
53- do
54- podman run \
55- --env-file=envfile \
56- --rm \
57- -v $(pwd):$(pwd) \
58- -w $(pwd) \
59- ${{ inputs.artifactory_registry }}/${{ inputs.artifactory_image }} \
60- /bin/bash -c "gpgloader && gpg --detach-sign --armor --output ${{ inputs.filename }}.sig ${{ inputs.filename }}"
61- done
62- shell : bash
51+ podman run \
52+ --env-file=envfile \
53+ --rm \
54+ -v $(pwd):$(pwd) \
55+ -w $(pwd) \
56+ ${{ inputs.artifactory_registry }}/${{ inputs.artifactory_image }} \
57+ /bin/bash -c 'gpgloader && for filename in "${{ inputs.filenames }}"; do gpg --detach-sign --armor --output ${filename}.sig ${filename}; done'
58+ shell : bash
You can’t perform that action at this time.
0 commit comments