Skip to content

feat(frontend): implemented view connections modal [2024-12-15] #110

feat(frontend): implemented view connections modal [2024-12-15]

feat(frontend): implemented view connections modal [2024-12-15] #110

Workflow file for this run

name: Build and Push to ECR
permissions:
id-token: write # This is required for requesting the JWT
contents: read
on:
push:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::017820660020:role/GithubActions
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build, tag, and push image to Amazon ECR
env:
ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }}
IMAGE_TAG: latest
run: |
docker build -t $ECR_REGISTRY:$IMAGE_TAG .
docker push $ECR_REGISTRY:$IMAGE_TAG
- name: Force new deployment of ECS service
run: |
aws ecs update-service --cluster ${{ secrets.ECS_CLUSTER }} --service ${{ secrets.ECS_SERVICE }} --force-new-deployment