Skip to content

Docker CI Chechout actions version chenged #6

Docker CI Chechout actions version chenged

Docker CI Chechout actions version chenged #6

Workflow file for this run

name: Build and Deploy to Docker Hub
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: check Out Repo
uses: actions/checkout@v4
- 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@v2
with:
context: .
file: ./Dockerfile.user
push: true
tags: swarnendug07/imagemagic
- name: Verify Pushed Image
run: docker pull swarnendug07/imagemagic