File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,17 @@ jobs:
124
124
systemctl --user start homebrew.podman.service
125
125
echo "PODMAN_SOCK=/run/user/${UID}/podman/podman.sock" >> $GITHUB_ENV
126
126
127
+ - name : Unlock encrypted secrets with git-crypt
128
+ if : ${{ inputs.subscription }}
129
+ run : |
130
+ sudo apt-get update
131
+ sudo apt-get install git-crypt
132
+ echo "${GIT_CRYPT_KEY}" | base64 --decode > ./git-crypt-key
133
+ git-crypt unlock ./git-crypt-key
134
+ rm ./git-crypt-key
135
+ env :
136
+ GIT_CRYPT_KEY : ${{ secrets.GIT_CRYPT_KEY }}
137
+
127
138
- name : Add subscriptions from GitHub secret
128
139
if : ${{ inputs.subscription }}
129
140
run : |
Original file line number Diff line number Diff line change 33
33
with :
34
34
ref : " refs/pull/${{ github.event.number }}/merge"
35
35
36
- - name : Unlock encrypted secrets with git-crypt
37
- run : |
38
- sudo apt-get update
39
- sudo apt-get install git-crypt
40
- echo "${GIT_CRYPT_KEY}" | base64 --decode > ./git-crypt-key
41
- git-crypt unlock ./git-crypt-key
42
- rm ./git-crypt-key
43
- env :
44
- GIT_CRYPT_KEY : ${{ secrets.GIT_CRYPT_KEY }}
45
-
46
36
- name : Determine targets to build based on changed files
47
37
run : |
48
38
set -x
53
43
--to-ref '${{ github.event.pull_request.head.ref }}' \
54
44
--only-rhel
55
45
id : gen
56
- env :
57
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
46
shell : bash
59
47
60
48
build :
You can’t perform that action at this time.
0 commit comments