Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxshan2000 committed Sep 28, 2023
1 parent 2ccdfea commit 003b200
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand All @@ -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

0 comments on commit 003b200

Please sign in to comment.