File tree Expand file tree Collapse file tree 4 files changed +28
-55
lines changed Expand file tree Collapse file tree 4 files changed +28
-55
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,3 @@ You can also supply multiple space-separated filenames to sign a list of files:
6969 artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
7070 artifactory_password: ${{ secrets.ARTIFACTORY_PASSWORD }}
7171```
72-
73- ### setup
74-
75- The setup action is used by ` git-sign ` and ` gpg-sign ` to create an env file and
76- sign in to artifactory. It can also be used standalone.
Original file line number Diff line number Diff line change @@ -29,15 +29,22 @@ inputs:
2929runs :
3030 using : composite
3131 steps :
32- - name : Prepare garasign container
32+ - name : Create the envfile
3333 if : ${{ inputs.skip_setup == 'false' }}
34- uses : ./.github/actions/garasign/setup
34+ run : |
35+ cat << EOF > envfile
36+ GRS_CONFIG_USER1_USERNAME=${{ inputs.garasign_username }}
37+ GRS_CONFIG_USER1_PASSWORD=${{ inputs.garasign_password }}
38+ EOF
39+ shell : bash
40+
41+ - name : Log in to artifactory
42+ if : ${{ inputs.skip_setup == 'false' }}
43+ uses : redhat-actions/podman-login@v1
3544 with :
36- garasign_username : ${{ inputs.garasign_username }}
37- garasign_password : ${{ inputs.garasign_password }}
38- artifactory_username : ${{ inputs.artifactory_username }}
39- artifactory_password : ${{ inputs.artifactory_password }}
40- artifactory_registry : ${{ inputs.artifactory_registry }}
45+ username : ${{ inputs.artifactory_username }}
46+ password : ${{ inputs.artifactory_password }}
47+ registry : ${{ inputs.artifactory_registry }}
4148
4249 - name : " Run git command"
4350 run : |
Original file line number Diff line number Diff line change @@ -29,15 +29,22 @@ inputs:
2929runs :
3030 using : composite
3131 steps :
32- - name : Prepare garasign container
32+ - name : Create the envfile
3333 if : ${{ inputs.skip_setup == 'false' }}
34- uses : ./.github/actions/garasign/setup
34+ run : |
35+ cat << EOF > envfile
36+ GRS_CONFIG_USER1_USERNAME=${{ inputs.garasign_username }}
37+ GRS_CONFIG_USER1_PASSWORD=${{ inputs.garasign_password }}
38+ EOF
39+ shell : bash
40+
41+ - name : Log in to artifactory
42+ if : ${{ inputs.skip_setup == 'false' }}
43+ uses : redhat-actions/podman-login@v1
3544 with :
36- garasign_username : ${{ inputs.garasign_username }}
37- garasign_password : ${{ inputs.garasign_password }}
38- artifactory_username : ${{ inputs.artifactory_username }}
39- artifactory_password : ${{ inputs.artifactory_password }}
40- artifactory_registry : ${{ inputs.artifactory_registry }}
45+ username : ${{ inputs.artifactory_username }}
46+ password : ${{ inputs.artifactory_password }}
47+ registry : ${{ inputs.artifactory_registry }}
4148
4249 - name : " Create detached signature for filename"
4350 run : |
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments