Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenJaden committed Nov 4, 2023
1 parent dc92387 commit 7e771d9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
runs-on: ubuntu-latest

steps:
# - name: Checkout repository
# uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -28,23 +25,23 @@ jobs:
- name: Build and push django image
uses: docker/build-push-action@v5
with:
context: ./education_platform/
file: ./education_platform/Dockerfile
context: "{{defaultContext}}:education_platform"
file: "{{defaultContext}}:education_platform/Dockerfile"
tags: goldenjaden/edu_django:latest
push: true

- name: Build and push flask notifications image
uses: docker/build-push-action@v5
with:
context: ./notifications/
file: ./notifications/Dockerfile
context: "{{defaultContext}}:notifications"
file: "{{defaultContext}}:notifications/Dockerfile"
tags: goldenjaden/edu_flask_messenger:latest
push: true

- name: Build and push flask messenger image
uses: docker/build-push-action@v5
with:
context: ./messenger/
file: ./messenger/Dockerfile
context: "{{defaultContext}}:messenger"
file: "{{defaultContext}}:messenger/Dockerfile"
tags: goldenjaden/edu_flask_messenger:latest
push: true

0 comments on commit 7e771d9

Please sign in to comment.