From 003b2000745602f4f812cd0ec924f54dbdc0aa66 Mon Sep 17 00:00:00 2001 From: Luxshan2000 Date: Fri, 29 Sep 2023 03:43:00 +0530 Subject: [PATCH] review --- .github/workflows/workflow.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 8a5c04a..c54fd69 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -16,9 +16,9 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build docker image - run: docker build -t luxshan/aws-pipeline/frontend ./frontend + run: docker build -t luxshan/aws-pipeline ./frontend - name: Publish image to docker hub - run: docker push luxshan/aws-pipeline/frontend + run: docker push luxshan/aws-pipeline @@ -27,8 +27,8 @@ jobs: runs-on: [aws-ec2] steps: - name: Pull image from docker hub - run: docker pull luxshan/aws-pipeline/frontend:latest + run: docker pull luxshan/aws-pipeline:latest - name: Delete old container run: docker rm -f aws-pipeline-frontend-container - name: Run docker container - run: docker run -d -p 3000:3000 --name aws-pipeline-frontend-container luxshan/aws-pipeline/frontend + run: docker run -d -p 3000:3000 --name aws-pipeline-frontend-container luxshan/aws-pipeline