Skip to content

Commit

Permalink
Create deployDev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pradumchintamani authored Jun 22, 2024
1 parent 768d3b2 commit 571eb86
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deployDev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Build and Push

on:
workflow_dispatch:

jobs:
build:
runs-on: machine1

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
run: |
docker build -t hellopradum/backend-wanderlust backend/.
docker build -t hellopradum/frontend-wanderlust frontend/.
docker push hellopradum/backend-wanderlust:latest
docker push hellopradum/frontend-wanderlust:latest

0 comments on commit 571eb86

Please sign in to comment.