yasir68's picture
Upload folder using huggingface_hub
1c875b5 verified
raw
history blame
712 Bytes
name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/orrnobmahmud/moonbixauto:latest
docker push ghcr.io/orrnobmahmud/moonbixauto:latest