Skip to content

Docker Build and Push #6

Docker Build and Push

Docker Build and Push #6

Workflow file for this run

name: Docker Build and Push
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
run: |
docker build -t lifailon/torapi:latest .
docker push lifailon/torapi:latest