Skip to content

Commit 84eb11f

Browse files
committed
moving envs and keys
1 parent e8a0323 commit 84eb11f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/rpm-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
env:
1313
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
1414
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
15-
GPG_PRIVATE_KEY_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}
1615
AWS_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
1716
AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
1817
steps:
@@ -30,6 +29,7 @@ jobs:
3029

3130
- name: Import GPG key
3231
uses: crazy-max/ghaction-import-gpg@v6
32+
id: import_gpg
3333
with:
3434
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3535
passphrase: ${{ secrets.GPG_PASSPHRASE }}
@@ -49,4 +49,6 @@ jobs:
4949
version: 2
5050

5151
- name: Publish RPM repo
52+
env:
53+
GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
5254
run: ./publish-rpm-repo.sh

0 commit comments

Comments
 (0)