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:
69
69
artifactory_username: ${{ secrets.ARTIFACTORY_USER }}
70
70
artifactory_password: ${{ secrets.ARTIFACTORY_PASSWORD }}
71
71
```
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:
29
29
runs :
30
30
using : composite
31
31
steps :
32
- - name : Prepare garasign container
32
+ - name : Create the envfile
33
33
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
35
44
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 }}
41
48
42
49
- name : " Run git command"
43
50
run : |
Original file line number Diff line number Diff line change @@ -29,15 +29,22 @@ inputs:
29
29
runs :
30
30
using : composite
31
31
steps :
32
- - name : Prepare garasign container
32
+ - name : Create the envfile
33
33
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
35
44
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 }}
41
48
42
49
- name : " Create detached signature for filename"
43
50
run : |
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments