Skip to content

Commit

Permalink
qa pipeline implementation done
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheetal-ayanworks committed May 14, 2024
1 parent 66a58a3 commit b558376
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/qa-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'qa-agent-service*'

env:
ECR_IMAGE_TAG: "USER_v_${{ github.run_number }}"
ECR_IMAGE_TAG: "AGENT_V_${{ github.run_number }}"
ECR_REPOSITORY: "qa-services"
AWS_REGION: "ap-southeast-1"
CLUSTER: "QA-NGOTAG-CLUSTER"
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: qa-services
IMAGE_TAG: "USER_V_${{ github.run_number }}"
IMAGE_TAG: "AGENT_V_${{ github.run_number }}"
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfiles/Dockerfile.agent-service .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Expand All @@ -50,7 +50,7 @@ jobs:
run: |
echo "ECR_REGISTRY=${{ steps.login-ecr.outputs.registry }}" >> $GITHUB_ENV
echo "ECR_REPOSITORY=qa-services" >> $GITHUB_ENV
echo "IMAGE_TAG=USER_V_${{ github.run_number }}" >> $GITHUB_ENV
echo "IMAGE_TAG=AGENT_V_${{ github.run_number }}" >> $GITHUB_ENV
- name: Print environment variables
run: |
Expand Down

0 comments on commit b558376

Please sign in to comment.