From b3c834d28a55c7dc97989bbb88ab144a877e1b82 Mon Sep 17 00:00:00 2001 From: harkirat Date: Tue, 17 Sep 2024 03:37:07 +0530 Subject: [PATCH] Added staging --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d39e142c..c3d02536 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,7 +25,7 @@ jobs: context: . file: ./Dockerfile.prod push: true - tags: 100xdevs/dailycode:${{ github.sha }} + tags: 100xdevs/dailycode-staging:${{ github.sha }} - name: Clone staging-ops repo, update, and push env: @@ -33,7 +33,7 @@ jobs: run: | git clone https://github.com/code100x/staging-ops.git cd staging-ops - sed -i 's|image: 100xdevs/dailycode:.*|image: 100xdevs/dailycode:${{ github.sha }}|' staging/dailycode/deployment.yml + sed -i 's|image: 100xdevs/dailycode-staging:.*|image: 100xdevs/dailycode-staging:${{ github.sha }}|' staging/dailycode/deployment.yml git config user.name "GitHub Actions Bot" git config user.email "actions@github.com" git add staging/dailycode/deployment.yml