From 90a1309281bb5f5c805562d07c72f9f3ad85e546 Mon Sep 17 00:00:00 2001 From: LaeekAhmed Date: Sat, 30 Mar 2024 15:57:11 -0400 Subject: [PATCH] test 2 --- .github/workflows/docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b8da4db..619d6d2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,13 +21,13 @@ jobs: credentials_json: ${{ secrets.OWNER_SA_KEY }} - name: Decode credentials.json - run: echo "${{ secrets.B64_ENCODED_KEY }}" | base64 --decode > docker_credentials.json + run: echo "${{ secrets.B64_ENCODED_KEY }}" | base64 --decode > ./backend/credentials.json - name: Install GCloud CLI uses: google-github-actions/setup-gcloud@v1 - - name: List files in current directory - run: ls -la + - name: List files in the backend directory + run: ls -l ./backend - name: Build and Push Backend Docker Image env: @@ -35,7 +35,7 @@ jobs: CREDENTIALS_JSON: ${{ secrets.B64_ENCODED_KEY }} run: | gcloud auth configure-docker us-central1-docker.pkg.dev - docker build --build-arg CREDENTIALS_JSON=../docker_credentials.json -t us-central1-docker.pkg.dev/automate-gdsc/backend-images/backend:latest ./backend + docker build --build-arg CREDENTIALS_JSON=./credentials.json -t us-central1-docker.pkg.dev/automate-gdsc/backend-images/backend:latest ./backend docker push us-central1-docker.pkg.dev/automate-gdsc/backend-images/backend:latest - name: Build and Push Frontend Docker Image