Skip to content

analatics added

analatics added #5

Workflow file for this run

name: Build and Deploy to Docker Hub
on: [push]
jobs:
build:
name: Deploy to Docker
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Docker image
uses: docker/build-push-action@v3
with:
context: ./file-sharing-app
file: ./file-sharing-app/Dockerfile
push: true
tags: praneeth0331/dropit:latest
- name: Verify Pushed Image
run: docker pull praneeth0331/dropit:latest