From cac6f3f5f7eb4625e6dcb3346db5dd41e09fe7b3 Mon Sep 17 00:00:00 2001 From: AthulyaWeerakoon <55914834+AthulyaWeerakoon@users.noreply.github.com> Date: Sat, 6 Jul 2024 02:09:34 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cb4b87..e934427 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,9 @@ jobs: PFX_CERTIFICATE_BASE64: ${{ secrets.HIVESPHERE_CERTIFICATE }} PFX_CERTIFICATE_PASSWORD: ${{ secrets.HIVESPHERE_CERTIFICATE_PASSWORD }} run: | - mkdir /cert - echo "$PFX_CERTIFICATE_BASE64" | base64 --decode > /cert/certificate.pfx - echo "$PFX_CERTIFICATE_PASSWORD" > /cert/certificate_password.txt + sudo mkdir /cert + sudo echo "$PFX_CERTIFICATE_BASE64" | base64 --decode > /cert/certificate.pfx + sudo echo "$PFX_CERTIFICATE_PASSWORD" > /cert/certificate_password.txt - name: Build Docker Image run: docker build -t atleebugs/exam-registration-uoj -f ExamRegistrationUoJ/Dockerfile . - name: Push to Dockerhub