Skip to content

Commit

Permalink
Merge pull request #197 from UKGovernmentBEIS/DineshKumarASD-patch-4
Browse files Browse the repository at this point in the history
Update upload_dev.yml
  • Loading branch information
DineshKumarASD authored May 7, 2024
2 parents 987cfe9 + fce17b3 commit f0b0881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upload_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
ECR_REPOSITORY_DEV: beis
IMAGE_TAG_DEV: latest
run: |
docker build -t $ECR_REGISTRY_DEV/$ECR_REPOSITORY_DEV:$IMAGE_TAG_DEV --build-arg BUILD_NUMBER=${{ github.run_number }} --build-arg GIT_REF=$(git log -n 1 | awk '{print $2; exit}') --verbose .
docker build -t $ECR_REGISTRY_DEV/$ECR_REPOSITORY_DEV:$IMAGE_TAG_DEV --build-arg BUILD_NUMBER=${{ github.run_number }} --build-arg GIT_REF=$(git log -n 1 | awk '{print $2; exit}') .
docker push $ECR_REGISTRY_DEV/$ECR_REPOSITORY_DEV:$IMAGE_TAG_DEV
aws ecs update-service --force-new-deployment --service ecs_webserver --cluster ecs_webserver
2 changes: 1 addition & 1 deletion .github/workflows/upload_preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
ECR_REPOSITORY: beis
IMAGE_TAG: latest
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG --build-arg BUILD_NUMBER=${{ github.run_number }} --build-arg GIT_REF=$(git log -n 1 | awk '{print $2; exit}') --verbose .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG --build-arg BUILD_NUMBER=${{ github.run_number }} --build-arg GIT_REF=$(git log -n 1 | awk '{print $2; exit}') .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
aws ecs update-service --force-new-deployment --service ecs_webserver --cluster ecs_webserver

0 comments on commit f0b0881

Please sign in to comment.