From f26d64ea45bd038efbc39d62dc18079fabe0ce09 Mon Sep 17 00:00:00 2001 From: Marek Goldmann Date: Fri, 26 Jan 2024 15:43:38 +0100 Subject: [PATCH] ci: properly reference secrets --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a34068d7..ca7687028 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: - name: Populate certificates run: | mkdir certs - echo $IT_ROOT_CA_2022 > certs/2022-IT-Root-CA.pem + echo ${{ secrets.IT_ROOT_CA_2022 }} > certs/2022-IT-Root-CA.pem - name: Build Image id: build-image uses: redhat-actions/buildah-build@v2 @@ -113,9 +113,9 @@ jobs: - name: Populate certificates run: | mkdir certs - echo $IT_ROOT_CA_2022 > certs/2022-IT-Root-CA.pem - echo $IT_ROOT_CA_2015 > certs/2015-IT-Root-CA.pem - echo $CA_CHAIN > rhcs-ca-chain-2022-cross-signed-2015.crt + echo ${{ secrets.IT_ROOT_CA_2022 }} > certs/2022-IT-Root-CA.pem + echo ${{ secrets.IT_ROOT_CA_2015 }} > certs/2015-IT-Root-CA.pem + echo ${{ secrets.CA_CHAIN }} > certs/rhcs-ca-chain-2022-cross-signed-2015.crt - name: Download CLI uses: actions/download-artifact@v4 with: