Skip to content

Deploy to Docker Hub #1

Deploy to Docker Hub

Deploy to Docker Hub #1

Workflow file for this run

name: Deploy to Docker Hub
on:
workflow_run:
workflows: ["Build Python"]
types:
- completed
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image
with:
image: areebahmeddd/mivro-backend
tags: latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}