Skip to content

Commit

Permalink
Update dev-agent.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Sheetal-ayanworks <[email protected]>
  • Loading branch information
Sheetal-ayanworks authored Apr 17, 2024
1 parent bc75142 commit d6dbfd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:


env:
ECR_IMAGE_TAG: "USER_v_${{ github.run_number }}"
ECR_IMAGE_TAG: "AGENT_v_${{ github.run_number }}"
ECR_REPOSITORY: "dev-services"
AWS_REGION: "ap-southeast-1"
CLUSTER: "DEV-NGOTAG-CLUSTER"
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: dev-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=dev-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 d6dbfd2

Please sign in to comment.