Skip to content

Commit d3b8aaf

Browse files
committed
fix rhel download, remove unused rhel license.
1 parent 12c5ec3 commit d3b8aaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-plus.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
echo "::add-mask::$PLUS_CREDS"
8080
echo $PLUS_CREDS | jq -r '.crt' > nginx-repo.crt
8181
echo $PLUS_CREDS | jq -r '.key' > nginx-repo.key
82+
az keyvault secret show --name rhel-creds --vault-name ${{ secrets.NIC_KEYVAULT_NAME }} --query value -o tsv > rhel_license
8283
if: ${{ inputs.authenticated }}
8384

8485
- name: Authenticate to Google Cloud

.github/workflows/build-single-image.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ jobs:
9595
echo "::add-mask::$PLUS_CREDS"
9696
echo $PLUS_CREDS | jq -r '.crt' > nginx-repo.crt
9797
echo $PLUS_CREDS | jq -r '.key' > nginx-repo.key
98-
az keyvault secret show --name rhel-creds --vault-name ${{ secrets.NIC_KEYVAULT_NAME }} --query value -o tsv > rhel_license
9998
if: ${{ contains(inputs.target, 'plus') }}
10099

101100
- name: Fetch Cached Binary Artifacts
@@ -143,5 +142,5 @@ jobs:
143142

144143
- name: Clean up secrets
145144
run: |
146-
rm -f nginx-repo.crt nginx-repo.key rhel_license
145+
rm -f nginx-repo.crt nginx-repo.key
147146
if: always()

0 commit comments

Comments
 (0)