Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
i3rotlher committed Oct 17, 2023
1 parent 69acdb7 commit 0dbb6a4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/Build_and_Publish_Images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,19 @@ jobs:
# BACKEND
- name: Build Docker Image
run: docker build -t seed-test-backend:${{ steps.get_tag_name.outputs.version }} ./backend
run: |
docker build -t seed-test-backend:${{ steps.get_tag_name.outputs.version }} ./backend
docker tag seed-test-backend:${{ steps.get_tag_name.outputs.version }} ${{ secrets.DOCKER_USERNAME }}/seed-test-backend:${{ steps.get_tag_name.outputs.version }}
- name: Push Docker Image to Docker Hub
run: |
docker push ${{ secrets.DOCKER_USERNAME }}/seed-test-backend:${{ steps.get_tag_name.outputs.version }}
# FRONTEND
- name: Build Docker Image
run: docker build -t seed-test-frontend:${{ steps.get_tag_name.outputs.version }} ./frontend
run: |
docker build -t seed-test-frontend:${{ steps.get_tag_name.outputs.version }} ./frontend
docker tag seed-test-frontend:${{ steps.get_tag_name.outputs.version }} ${{ secrets.DOCKER_USERNAME }}/seed-test-frontend:${{ steps.get_tag_name.outputs.version }}
- name: Push Docker Image to Docker Hub
run: |
Expand All @@ -131,6 +135,7 @@ jobs:
- name: Build Docker Image as Latest
run: |
docker build -t seed-test-demo:${{ steps.get_tag_name.outputs.version }} .
docker tag seed-test-demo:${{ steps.get_tag_name.outputs.version }} ${{ secrets.DOCKER_USERNAME }}/seed-test-demo:latest
- name: Push Docker Image to Docker Hub
run: |
Expand Down

0 comments on commit 0dbb6a4

Please sign in to comment.