Skip to content

Update Dockerfile context in main.yml #7

Update Dockerfile context in main.yml

Update Dockerfile context in main.yml #7

Workflow file for this run

name: Build and Push Docker Image to Docker Hub
on: push
jobs:
push_to_registry:
name: push docker image to hub
runs-on: ubuntu-latest
steps:
- name: check repository
uses: actions/checkout@v4
- name: login to docker registry
uses: docker/login-action@v3
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
- name: build and push docker image to registry
uses: docker/build-push-action@v5
with:
context: /Users/vikram/Projects/PicPilot/Dockerfile
push: true
tags: vikram1202/picpilot:latest